aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/pppoe.c
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2009-02-14 06:13:52 -0500
committerDavid S. Miller <davem@davemloft.net>2009-02-17 20:21:12 -0500
commitd6781f2af8567524f8c95d9907718a6c61fe417d (patch)
tree88ad7177f33d88cd39ec7af057f3bfe1e0654197 /drivers/net/pppoe.c
parent416c6f90f8a107ccae3788bb9798d10a2dac9ed0 (diff)
drivers/net/ppp*.c: fix sparse warnings: fix signedness
Fix this sparse warnings: drivers/net/ppp_generic.c:919:43: warning: incorrect type in argument 1 (different signedness) drivers/net/pppoe.c:1195:43: warning: incorrect type in argument 1 (different signedness) drivers/net/pppol2tp.c:2666:43: warning: incorrect type in argument 1 (different signedness) Signed-off-by: Hannes Eder <hannes@hanneseder.net> Acked-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/pppoe.c')
-rw-r--r--drivers/net/pppoe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pppoe.c b/drivers/net/pppoe.c
index af6321d97574..e2968f084439 100644
--- a/drivers/net/pppoe.c
+++ b/drivers/net/pppoe.c
@@ -97,7 +97,7 @@ static const struct proto_ops pppoe_ops;
97static struct ppp_channel_ops pppoe_chan_ops; 97static struct ppp_channel_ops pppoe_chan_ops;
98 98
99/* per-net private data for this module */ 99/* per-net private data for this module */
100static unsigned int pppoe_net_id; 100static int pppoe_net_id;
101struct pppoe_net { 101struct pppoe_net {
102 /* 102 /*
103 * we could use _single_ hash table for all 103 * we could use _single_ hash table for all