]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: Release nvram lock on error flow
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Thu, 25 Jun 2015 12:19:28 +0000 (15:19 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Jun 2015 13:30:38 +0000 (06:30 -0700)
commitf729ea0b74d22125305a92d87391a98d535ce6dc
tree734508161c73454152abb877580e714b5eb8eb01
parent45f2adb2184045485cb353073041efbcf179c4af
bnx2x: Release nvram lock on error flow

During an error flow when trying to access the nvram the driver doesn't
release the hw lock it acquired.

Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: Ariel Elior <Ariel.Elior@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c