[PATCH 0/1] hidraw: compat_ioctl for hidraw

From: Alan Ott
Date: Tue Jan 04 2011 - 01:00:10 EST


hidraw did not have a compat_ioctl set, causing ioctls to fail from 32-bit apps on 64-bit systems. This patch seems to make ioctls work from 32-bit apps.

I made this look like the one in drivers/input/joydev.c. I'm not 100% sure that this is all that needs to be done, so it'd be nice if someone could review it.

Alan Ott (1):
hidraw: Added Compatibility ioctl() for 32-bit applications.

drivers/hid/hidraw.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)


--
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/