Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=7f9705b04c1638b3682f63ece7931384f4542f17
Commit:     7f9705b04c1638b3682f63ece7931384f4542f17
Parent:     0354c1acd8f74e7bda752108c052972a1d1b6c3f
Author:     Marcin Slusarz <[EMAIL PROTECTED]>
AuthorDate: Sun Dec 16 03:23:20 2007 +0100
Committer:  Greg Kroah-Hartman <[EMAIL PROTECTED]>
CommitDate: Fri Feb 1 14:34:58 2008 -0800

    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] <asn:1>*
    
    Signed-off-by: Marcin Slusarz <[EMAIL PROTECTED]>
    Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
 include/linux/usbdevice_fs.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/usbdevice_fs.h b/include/linux/usbdevice_fs.h
index 8ca5a7f..17cb108 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];
 };
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to