wanrouter: fix sparse warnings: context imbalance
authorHannes Eder <hannes@hanneseder.net>
Wed, 25 Feb 2009 10:33:06 +0000 (10:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Feb 2009 07:13:36 +0000 (23:13 -0800)
commit9ee62630fddda0142cebc45e3bbea20a8009be97
tree3fb04dc7c38cbcb2066f9a4ba9b25a5fe5818179
parent56bca31ff1989aa8b60f717e984b0e624f06324e
wanrouter: fix sparse warnings: context imbalance

Impact: Attribute functions with __acquires(...) resp. __releases(...).

Fix this sparse warnings:
  net/wanrouter/wanproc.c:82:13: warning: context imbalance in 'r_start' - wrong count at exit
  net/wanrouter/wanproc.c:103:13: warning: context imbalance in 'r_stop' - unexpected unlock
  net/wanrouter/wanmain.c:765:13: warning: context imbalance in 'lock_adapter_irq' - wrong count at exit
  net/wanrouter/wanmain.c:771:13: warning: context imbalance in 'unlock_adapter_irq' - unexpected unlock

Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/wanrouter/wanmain.c
net/wanrouter/wanproc.c