thank you, i've commited a patch for this in revision 1529. This should fix this bug
and make sparse happy. :)
On Fri, Jan 01, 2010 at 06:52:59PM +0100, Andrew Lunn wrote:
I just built batman-adv with make C=1 so that sparse it used to check
the code. It found a few missing unlocks...
drivers/staging/batman-adv/routing.c:585:12: warning: context imbalance in
'recv_my_icmp_packet' - different lock contexts for basic block
This is the return if the skb_copy() fails.
drivers/staging/batman-adv/routing.c:640:12: warning: context imbalance in
'recv_icmp_ttl_exceeded' - different lock contexts for basic block
drivers/staging/batman-adv/routing.c:695:5: warning: context imbalance in
'recv_icmp_packet' - different lock contexts for basic block
and same again...
in each case you are missing a