Re: [PATCH 14/43] drivers/net/bonding: fix sparse warnings:context imbalance
From: David Miller
Date: Tue Feb 17 2009 - 20:28:53 EST
From: Hannes Eder <hannes@xxxxxxxxxxxxxx>
Date: Sat, 14 Feb 2009 22:15:33 +0100
> Impact: Attribute functions with __acquires(...) and/or __releases(...).
>
> Fix this sparse warnings:
> drivers/net/bonding/bond_alb.c:1675:9: warning: context imbalance in 'bond_alb_handle_active_change' - unexpected unlock
> drivers/net/bonding/bond_alb.c:1742:9: warning: context imbalance in 'bond_alb_set_mac_address' - unexpected unlock
> drivers/net/bonding/bond_main.c:1025:17: warning: context imbalance in 'bond_do_fail_over_mac' - unexpected unlock
> drivers/net/bonding/bond_main.c:3195:13: warning: context imbalance in 'bond_info_seq_start' - wrong count at exit
> drivers/net/bonding/bond_main.c:3234:13: warning: context imbalance in 'bond_info_seq_stop' - unexpected unlock
>
> Signed-off-by: Hannes Eder <hannes@xxxxxxxxxxxxxx>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/