Re: [PATCH] hiddev: compat_ptr() returns a void *
Jiri Kosina <[email protected]>
| Newsgroups | gmane.linux.kernel.input,gmane.linux.usb.devel,gmane.linux.kernel |
|---|---|
| Message-ID | <[email protected]> |
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 pointer without a cast > Signed-off-by: Stephen Rothwell <[email protected]> Hi Stephen, I already have this fixed in my tree, sorry. Thanks a lot, -- Jiri Kosina