summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAlexander Viro <viro@parcelfarce.linux.theplanet.co.uk>2004-05-30 06:09:42 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-05-30 06:09:42 -0700
commitea481f6f7b19ed8407d1223f705f37b691108d11 (patch)
tree937649574b5d73e3cb776ab236ba01f756b1c8c2 /include/linux
parenteaeaf871396c3e345d293dda3b1b2cd195eadf59 (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 'include/linux')
-rw-r--r--include/linux/netdevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index ad059d78d5ff..d2c25ff41010 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -558,7 +558,7 @@ extern int dev_restart(struct net_device *dev);
extern int netpoll_trap(void);
#endif
-typedef int gifconf_func_t(struct net_device * dev, char * bufptr, int len);
+typedef int gifconf_func_t(struct net_device * dev, char __user * bufptr, int len);
extern int register_gifconf(unsigned int family, gifconf_func_t * gifconf);
static inline int unregister_gifconf(unsigned int family)
{