Re: [PATCH] hiddev: compat_ptr() returns a void *

2007-10-31 Thread Stephen Rothwell
On Wed, 31 Oct 2007 12:27:24 +0100 (CET) Jiri Kosina <[EMAIL PROTECTED]> wrote: > > I already have this fixed in my tree, sorry. As long as it gets fixed, I don't mind. -- Cheers, Stephen Rothwell[EMAIL PROTECTED] http://www.canb.auug.org.au/~sfr/ pgpWcx0XupYc4.pgp

Re: [PATCH] hiddev: compat_ptr() returns a void *

2007-10-31 Thread Jiri Kosina
On Wed, 31 Oct 2007, Stephen Rothwell wrote: > so cast it to unsigned long before passing it to hiddev_ioctl. > This gets rid of: > 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

Re: [PATCH] hiddev: compat_ptr() returns a void *

2007-10-31 Thread Jiri Kosina
On Wed, 31 Oct 2007, Stephen Rothwell wrote: so cast it to unsigned long before passing it to hiddev_ioctl. This gets rid of: 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

Re: [PATCH] hiddev: compat_ptr() returns a void *

2007-10-31 Thread Stephen Rothwell
On Wed, 31 Oct 2007 12:27:24 +0100 (CET) Jiri Kosina [EMAIL PROTECTED] wrote: I already have this fixed in my tree, sorry. As long as it gets fixed, I don't mind. -- Cheers, Stephen Rothwell[EMAIL PROTECTED] http://www.canb.auug.org.au/~sfr/ pgpWcx0XupYc4.pgp

[PATCH] hiddev: compat_ptr() returns a void *

2007-10-30 Thread Stephen Rothwell
so cast it to unsigned long before passing it to hiddev_ioctl. This gets rid of: 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 Signed-off-by: Stephen

[PATCH] hiddev: compat_ptr() returns a void *

2007-10-30 Thread Stephen Rothwell
so cast it to unsigned long before passing it to hiddev_ioctl. This gets rid of: 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 Signed-off-by: Stephen