diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ppp_generic.c | 2 | ||||
-rw-r--r-- | drivers/net/pppoe.c | 2 | ||||
-rw-r--r-- | drivers/net/pppol2tp.c | 2 |
3 files changed, 3 insertions, 3 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; |
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; | |||
97 | static struct ppp_channel_ops pppoe_chan_ops; | 97 | static 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 */ |
100 | static unsigned int pppoe_net_id; | 100 | static int pppoe_net_id; |
101 | struct pppoe_net { | 101 | struct pppoe_net { |
102 | /* | 102 | /* |
103 | * we could use _single_ hash table for all | 103 | * we could use _single_ hash table for all |
diff --git a/drivers/net/pppol2tp.c b/drivers/net/pppol2tp.c index 1ba0f6864ac4..5b07dd8e5c04 100644 --- a/drivers/net/pppol2tp.c +++ b/drivers/net/pppol2tp.c | |||
@@ -232,7 +232,7 @@ static struct ppp_channel_ops pppol2tp_chan_ops = { pppol2tp_xmit , NULL }; | |||
232 | static struct proto_ops pppol2tp_ops; | 232 | static struct proto_ops pppol2tp_ops; |
233 | 233 | ||
234 | /* per-net private data for this module */ | 234 | /* per-net private data for this module */ |
235 | static unsigned int pppol2tp_net_id; | 235 | static int pppol2tp_net_id; |
236 | struct pppol2tp_net { | 236 | struct pppol2tp_net { |
237 | struct list_head pppol2tp_tunnel_list; | 237 | struct list_head pppol2tp_tunnel_list; |
238 | rwlock_t pppol2tp_tunnel_list_lock; | 238 | rwlock_t pppol2tp_tunnel_list_lock; |