diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2008-01-31 15:08:10 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-01 06:27:46 +0300 |
commit | 2f0d2f10391e190f940da70cbdc8a61e4dad98eb (patch) | |
tree | d732ec9ecf934264525254873c5cc5aa18afce15 /net/netfilter/nf_conntrack_tftp.c | |
parent | 4e26fe2681e9e3a4a43daab70c9facba3310755b (diff) | |
download | linux-2f0d2f10391e190f940da70cbdc8a61e4dad98eb.tar.xz |
[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_tftp.c')
-rw-r--r-- | net/netfilter/nf_conntrack_tftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/nf_conntrack_tftp.c b/net/netfilter/nf_conntrack_tftp.c index e894aa1ff3ad..176f769d3072 100644 --- a/net/netfilter/nf_conntrack_tftp.c +++ b/net/netfilter/nf_conntrack_tftp.c @@ -25,7 +25,7 @@ MODULE_ALIAS("ip_conntrack_tftp"); #define MAX_PORTS 8 static unsigned short ports[MAX_PORTS]; -static int ports_c; +static unsigned int ports_c; module_param_array(ports, ushort, &ports_c, 0400); MODULE_PARM_DESC(ports, "Port numbers of TFTP servers"); |