diff options
author | Hannes Eder <hannes@hanneseder.net> | 2009-02-14 06:13:52 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-17 20:21:12 -0500 |
commit | d6781f2af8567524f8c95d9907718a6c61fe417d (patch) | |
tree | 88ad7177f33d88cd39ec7af057f3bfe1e0654197 /drivers/net/ppp_generic.c | |
parent | 416c6f90f8a107ccae3788bb9798d10a2dac9ed0 (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/ppp_generic.c')
-rw-r--r-- | drivers/net/ppp_generic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ppp_generic.c b/drivers/net/ppp_generic.c index fddc8493f35c..81e7fcced4b9 100644 --- a/drivers/net/ppp_generic.c +++ b/drivers/net/ppp_generic.c | |||
@@ -183,7 +183,7 @@ static atomic_t ppp_unit_count = ATOMIC_INIT(0); | |||
183 | static atomic_t channel_count = ATOMIC_INIT(0); | 183 | static atomic_t channel_count = ATOMIC_INIT(0); |
184 | 184 | ||
185 | /* per-net private data for this module */ | 185 | /* per-net private data for this module */ |
186 | static unsigned int ppp_net_id; | 186 | static int ppp_net_id; |
187 | struct ppp_net { | 187 | struct ppp_net { |
188 | /* units to ppp mapping */ | 188 | /* units to ppp mapping */ |
189 | struct idr units_idr; | 189 | struct idr units_idr; |