diff options
| author | Alexander Viro <viro@parcelfarce.linux.theplanet.co.uk> | 2004-07-12 21:00:27 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-07-12 21:00:27 -0700 |
| commit | 5ffdb755fee5f58303832278b227c40a84c54e9a (patch) | |
| tree | 3a3ad2244130231119da014a8d6b8a3f97738a3e /include/linux | |
| parent | 3851523aa0a9fedad28747dff951ef4ea07f3b81 (diff) | |
[PATCH] sparse: usb ioctl cleanups
usb ioctls in compat_ioctl.c switched to compat_alloc_user_space()
and cleaned up; ioctl structures annotated.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/usbdevice_fs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/usbdevice_fs.h b/include/linux/usbdevice_fs.h index 4235d9f352f2..78f47434b757 100644 --- a/include/linux/usbdevice_fs.h +++ b/include/linux/usbdevice_fs.h @@ -63,7 +63,7 @@ struct usbdevfs_setinterface { struct usbdevfs_disconnectsignal { unsigned int signr; - void *context; + void __user *context; }; #define USBDEVFS_MAXDRIVERNAME 255 @@ -162,7 +162,7 @@ struct dev_state { wait_queue_head_t wait; /* wake up if a request completed */ unsigned int discsignr; struct task_struct *disctask; - void *disccontext; + void __user *disccontext; unsigned long ifclaimed; }; |
