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

From: Jiri Kosina
Date: Wed Oct 31 2007 - 07:28:06 EST


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 <sfr@xxxxxxxxxxxxxxxx>

Hi Stephen,

I already have this fixed in my tree, sorry.

Thanks a lot,

--
Jiri Kosina
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/