Commit:     d624284b06f869dad87a70a8d0cad72fbf7527b9
Parent:     df7bded75e6e0b14d79ba2a2d2f382f1014788cf
Author:     Jiri Kosina <[EMAIL PROTECTED]>
AuthorDate: Thu Oct 25 11:38:21 2007 +0200
Committer:  Jiri Kosina <[EMAIL PROTECTED]>
CommitDate: Wed Oct 31 13:30:34 2007 +0100

    HID: hiddev - fix compiler warning
    drivers/hid/usbhid/hiddev.c: In function 'hiddev_compat_ioctl':
    drivers/hid/usbhid/hiddev.c:746: warning: passing argument 4 of 
'hiddev_ioctl' makes
    integer from pointer without a cast
    Add cast to hiddev_compat_ioctl()
    Signed-off-by: Jiri Kosina <[EMAIL PROTECTED]>
 drivers/hid/usbhid/hiddev.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/hid/usbhid/hiddev.c b/drivers/hid/usbhid/hiddev.c
index 9837adc..5fc4019 100644
--- a/drivers/hid/usbhid/hiddev.c
+++ b/drivers/hid/usbhid/hiddev.c
@@ -743,7 +743,7 @@ inval:
 static long hiddev_compat_ioctl(struct file *file, unsigned int cmd, unsigned 
long arg)
        struct inode *inode = file->f_path.dentry->d_inode;
-       return hiddev_ioctl(inode, file, cmd, compat_ptr(arg));
+       return hiddev_ioctl(inode, file, cmd, (unsigned long)compat_ptr(arg));
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

Reply via email to