]> git.baikalelectronics.ru Git - kernel.git/commit
bna: add missing iounmap() on error in bnad_init()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 13 May 2013 04:26:06 +0000 (04:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 May 2013 19:54:38 +0000 (12:54 -0700)
commitf199d4165965fa544cb99310f9f0e7d2af04f895
tree3931fb98a23318f8cb96a050fee60cd00c5e88f1
parent351fae87853cf2f4b749c122dad498ca6862fa1c
bna: add missing iounmap() on error in bnad_init()

Add the missing iounmap() before return from bnad_init()
in the error handling case.
Introduced by commit adee68a52f2dfbb98f4c47a3e3b7c2c99cc0022e
(bna: tx rx cleanup fix).

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/brocade/bna/bnad.c