diff options
| author | Alexander Viro <viro@parcelfarce.linux.theplanet.co.uk> | 2004-05-30 06:09:42 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-05-30 06:09:42 -0700 |
| commit | ea481f6f7b19ed8407d1223f705f37b691108d11 (patch) | |
| tree | 937649574b5d73e3cb776ab236ba01f756b1c8c2 /net/core/dev.c | |
| parent | eaeaf871396c3e345d293dda3b1b2cd195eadf59 (diff) | |
[PATCH] sparse: SIOCGIFCONF handling - the rest of it
Fixed the type of SIOCGIFCONF callback; inet instance was already
correctly annotated, decnet one was _not_. Moreover, decnet callback
needed fixing - dereferencing userland address.
Diffstat (limited to 'net/core/dev.c')
| -rw-r--r-- | net/core/dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index 84384802ce9b..dfd505c1c511 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -1958,7 +1958,7 @@ static int dev_ifconf(char __user *arg) { struct ifconf ifc; struct net_device *dev; - char *pos; + char __user *pos; int len; int total; int i; |
