diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2008-01-31 04:08:10 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-31 19:27:46 -0800 |
commit | 2f0d2f10391e190f940da70cbdc8a61e4dad98eb (patch) | |
tree | d732ec9ecf934264525254873c5cc5aa18afce15 /net/netfilter/nf_conntrack_irc.c | |
parent | 4e26fe2681e9e3a4a43daab70c9facba3310755b (diff) | |
download | linux-2f0d2f10391e190f940da70cbdc8a61e4dad98eb.tar.gz linux-2f0d2f10391e190f940da70cbdc8a61e4dad98eb.tar.bz2 linux-2f0d2f10391e190f940da70cbdc8a61e4dad98eb.zip |
[NETFILTER]: conntrack: get rid of sparse warnings
Teach sparse about locking here, and fix signed/unsigned warnings.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter/nf_conntrack_irc.c')
-rw-r--r-- | net/netfilter/nf_conntrack_irc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/nf_conntrack_irc.c b/net/netfilter/nf_conntrack_irc.c index dfaed4ba83cd..c336b07a0d4c 100644 --- a/net/netfilter/nf_conntrack_irc.c +++ b/net/netfilter/nf_conntrack_irc.c @@ -23,7 +23,7 @@ #define MAX_PORTS 8 static unsigned short ports[MAX_PORTS]; -static int ports_c; +static unsigned int ports_c; static unsigned int max_dcc_channels = 8; static unsigned int dcc_timeout __read_mostly = 300; /* This is slow, but it's simple. --RR */ |