summaryrefslogtreecommitdiff
path: root/include/linux/ncp_fs.h
diff options
context:
space:
mode:
authorAlexander Viro <viro@www.linux.org.uk>2004-06-21 06:24:54 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-06-21 06:24:54 -0700
commit78d759d820703904f10fdcefdaf5cd5a41568812 (patch)
tree6f80de20155fb2bc23b85e6271d7cf06dd272239 /include/linux/ncp_fs.h
parent0ee7d70e094e412e3569c127360a6b34dac5426c (diff)
[PATCH] sparse: ncpfs/ioctl.c annotation
Diffstat (limited to 'include/linux/ncp_fs.h')
-rw-r--r--include/linux/ncp_fs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/ncp_fs.h b/include/linux/ncp_fs.h
index 9e2f1923ce5c..d9ab889ed7d0 100644
--- a/include/linux/ncp_fs.h
+++ b/include/linux/ncp_fs.h
@@ -24,7 +24,7 @@
struct ncp_ioctl_request {
unsigned int function;
unsigned int size;
- char *data;
+ char __user *data;
};
struct ncp_fs_info {
@@ -88,13 +88,13 @@ struct ncp_objectname_ioctl
#define NCP_AUTH_NDS 0x32
int auth_type;
size_t object_name_len;
- void* object_name; /* an userspace data, in most cases user name */
+ void __user * object_name; /* an userspace data, in most cases user name */
};
struct ncp_privatedata_ioctl
{
size_t len;
- void* data; /* ~1000 for NDS */
+ void __user * data; /* ~1000 for NDS */
};
/* NLS charsets by ioctl */