From: Marcin Slusarz Date: Sun, 16 Dec 2007 02:23:20 +0000 (+0100) Subject: USB: usbdevfs_urb: __user annotation X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7f9705b04c1638b3682f63ece7931384f4542f17;p=openwrt%2Fstaging%2Fblogic.git USB: usbdevfs_urb: __user annotation fix warning: drivers/usb/core/devio.c:1226:20: warning: incorrect type in assignment (different address spaces) drivers/usb/core/devio.c:1226:20: expected void *usercontext drivers/usb/core/devio.c:1226:20: got void [noderef] * Signed-off-by: Marcin Slusarz Signed-off-by: Greg Kroah-Hartman --- diff --git a/include/linux/usbdevice_fs.h b/include/linux/usbdevice_fs.h index 8ca5a7fbc9ec..17cb108b7db0 100644 --- a/include/linux/usbdevice_fs.h +++ b/include/linux/usbdevice_fs.h @@ -104,7 +104,7 @@ struct usbdevfs_urb { int error_count; unsigned int signr; /* signal to be sent on completion, or 0 if none should be sent. */ - void *usercontext; + void __user *usercontext; struct usbdevfs_iso_packet_desc iso_frame_desc[0]; };