mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/1] hidraw: compat_ioctl for hidraw
@ 2011-01-04  5:37 Alan Ott
  2011-01-04  5:37 ` [PATCH 1/1] hidraw: Added Compatibility ioctl() for 32-bit applications Alan Ott
  0 siblings, 1 reply; 4+ messages in thread
From: Alan Ott @ 2011-01-04  5:37 UTC (permalink / raw)
  To: Jiri Kosina, Stefan Achatz, Antonio Ospite, Tejun Heo,
	Marcel Holtmann, linux-input, linux-kernel
  Cc: Alan Ott

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-01-04 10:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-04  5:37 [PATCH 0/1] hidraw: compat_ioctl for hidraw Alan Ott
2011-01-04  5:37 ` [PATCH 1/1] hidraw: Added Compatibility ioctl() for 32-bit applications Alan Ott
2011-01-04 10:18   ` Arnd Bergmann
2011-01-04 10:25     ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®