[PATCH 0/1] hidraw: compat_ioctl for hidraw

Previous thread: [PATCH 1/1] hidraw: Added Compatibility ioctl() for 32-bit applications. by Alan Ott on Monday, January 3, 2011 - 10:37 pm. (3 messages)

Next thread: [BUG] implicit declaration of kfree/kzalloc in i2c-i801.c on Alpha by Bob Tracy on Monday, January 3, 2011 - 11:18 pm. (7 messages)
From: Alan Ott
Date: Monday, January 3, 2011 - 10:37 pm

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(-)


--

Previous thread: [PATCH 1/1] hidraw: Added Compatibility ioctl() for 32-bit applications. by Alan Ott on Monday, January 3, 2011 - 10:37 pm. (3 messages)

Next thread: [BUG] implicit declaration of kfree/kzalloc in i2c-i801.c on Alpha by Bob Tracy on Monday, January 3, 2011 - 11:18 pm. (7 messages)