summaryrefslogtreecommitdiff
path: root/include/linux/fd.h
diff options
context:
space:
mode:
authorAlexander Viro <viro@www.linux.org.uk>2004-06-03 17:22:05 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-06-03 17:22:05 -0700
commit236b7066ecfde294591f442aa3fbf71a932042e4 (patch)
tree5c2cb85e44bee8e1bc50cfced53ae575ac5f12d1 /include/linux/fd.h
parentbb0f5eb94a4800f07ff9e5def30f9600ef84e35c (diff)
[PATCH] sparse: misc headers annotations
several pointers in ioctl structures marked as userland ones. And that's it with this patchset. A couple more of those and we'll be done with the noise warnings ;-)
Diffstat (limited to 'include/linux/fd.h')
-rw-r--r--include/linux/fd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fd.h b/include/linux/fd.h
index cbbd0f876585..7ce5f01a4de2 100644
--- a/include/linux/fd.h
+++ b/include/linux/fd.h
@@ -339,7 +339,7 @@ struct floppy_raw_cmd {
#define FD_RAW_FAILURE 0x10000 /* command sent to fdc, fdc returned error */
#define FD_RAW_HARDFAILURE 0x20000 /* fdc had to be reset, or timed out */
- void *data;
+ void __user *data;
char *kernel_data; /* location of data buffer in the kernel */
struct floppy_raw_cmd *next; /* used for chaining of raw cmd's
* within the kernel */