diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2008-01-24 09:15:42 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-29 00:00:37 +0100 |
commit | 74feb6e84e189707ca1324a92f7206617efbd735 (patch) | |
tree | 8d18a7fff38ca5d94d1362b283392b6d0340d0eb /drivers/connector | |
parent | [NET]: prot_inuse cleanups and optimizations (diff) | |
download | linux-74feb6e84e189707ca1324a92f7206617efbd735.tar.xz linux-74feb6e84e189707ca1324a92f7206617efbd735.zip |
[ICMP]: Avoid sparse warnings in net/ipv4/icmp.c
CHECK net/ipv4/icmp.c
net/ipv4/icmp.c:249:13: warning: context imbalance in 'icmp_xmit_unlock' -
unexpected unlock
net/ipv4/icmp.c:376:13: warning: context imbalance in 'icmp_reply' - different
lock contexts for basic block
net/ipv4/icmp.c:430:6: warning: context imbalance in 'icmp_send' - different
lock contexts for basic block
Solution is to declare both icmp_xmit_lock() and icmp_xmit_unlock() as inline
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/connector')
0 files changed, 0 insertions, 0 deletions