tg3 : sparse cleanup
Subsystems (2)
PATCH 1/1 tg3 : sparse cleanup
Fix the following sparse warning :
drivers/net/tg3.c:4025:3: warning: context imbalance in 'tg3_restart_hw' - unexpected unlock
Signed-off-by Eric Dumazet <[email protected]>
drivers/net/tg3.c +2 -0
@@ -4017,6 +4017,8 @@ static int tg3_halt(struct tg3 *, int, int);* Invoked with tp->lock held. */ static int tg3_restart_hw (struct tg3 *tp,int reset_phy) + __releases(tp->lock) + __acquires(tp->lock) {int err;
From: Eric Dumazet <[email protected]>
Date: Fri, 25 Apr 2008 08:31:35 +0200
Quoted 6 lines
Fix the following sparse warning :
drivers/net/tg3.c:4025:3: warning: context imbalance in 'tg3_restart_hw'
- unexpected unlockSigned-off-by Eric Dumazet <[email protected]>
Applied, thanks a lot Eric.