Skip to contentSkip to conversation

usbdevfs_urb: __user annotation

PATCH Superseded Marcin Ślusarz 1 participant 1 message Dec 9, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usbdevfs_urb: __user annotation

usbdevfs_urb: __user annotation

---
 include/linux/usbdevice_fs.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/linux/usbdevice_fs.h +1 -1
index 8ca5a7f..17cb108 100644
@@ -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];
 };