linux_dsm_epyc7002/drivers/media/IR
Jarod Wilson be1f985ffa [media] IR/lirc: further ioctl portability fixups
>From Joris van Rantwijk <jorispubl@xs4all.nl>:

	I tested lirc_serial and found that it works fine.
	Except the LIRC ioctls do not work in my 64-bit-kernel/32-bit-user
	setup. I added compat_ioctl entries in the drivers to fix this.

	While doing so, I noticed inconsistencies in the argument type of
	the LIRC ioctls. All ioctls are declared in lirc.h as having argument
	type __u32, however there are a few places where the driver calls
	get_user/put_user with an unsigned long argument.

	The patch below changes lirc_dev and lirc_serial to use __u32 for all
	ioctl arguments, and adds compat_ioctl entries.
	It should probably also be done in the other low-level drivers,
	but I don't have hardware to test those.

I've dropped the .compat_ioctl addition from Joris' original patch,
as I swear the non-compat definition should now work for both 32-bit
and 64-bit userspace. Technically, I think we still need/want a
in getting a reply to you).

Reported-by: Joris van Rantwijk <jorispubl@xs4all.nl>
Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-10-21 01:18:34 -02:00
..
keymaps [media] fix A-Link DTU(m) remote controller PIP button 2010-10-21 01:18:13 -02:00
ene_ir.c V4L/DVB: IR: Port ene driver to new IR subsystem and enable it 2010-08-08 23:43:00 -03:00
ene_ir.h V4L/DVB: IR: Port ene driver to new IR subsystem and enable it 2010-08-08 23:43:00 -03:00
imon.c V4L/DVB: IR/imon: set up mce-only devices w/mce keytable 2010-10-21 01:06:08 -02:00
ir-core-priv.h V4L/DVB: IR/streamzap: functional in-kernel decoding 2010-10-21 01:04:47 -02:00
ir-functions.c V4L/DVB: ir-core: move subsystem internal calls to ir-core-priv.h 2010-05-19 12:57:04 -03:00
ir-jvc-decoder.c V4L/DVB: IR: JVC: make repeat work 2010-08-08 23:42:59 -03:00
ir-keytable.c V4L/DVB: IR: export ir_keyup so imon driver can use it directly 2010-10-21 01:06:07 -02:00
ir-lirc-codec.c [media] IR/lirc: further ioctl portability fixups 2010-10-21 01:18:34 -02:00
ir-nec-decoder.c V4L/DVB: IR: NECX: support repeat 2010-08-08 23:42:59 -03:00
ir-raw-event.c V4L/DVB: IR: ir-raw-event: null pointer dereference 2010-09-27 22:21:46 -03:00
ir-rc5-decoder.c V4L/DVB: ir-core: move decoding state to ir_raw_event_ctrl 2010-08-02 14:55:15 -03:00
ir-rc5-sz-decoder.c V4L/DVB: IR/streamzap: functional in-kernel decoding 2010-10-21 01:04:47 -02:00
ir-rc6-decoder.c V4L/DVB: ir-core: move decoding state to ir_raw_event_ctrl 2010-08-02 14:55:15 -03:00
ir-sony-decoder.c V4L/DVB: ir-core: move decoding state to ir_raw_event_ctrl 2010-08-02 14:55:15 -03:00
ir-sysfs.c V4L/DVB: IR/streamzap: functional in-kernel decoding 2010-10-21 01:04:47 -02:00
Kconfig [media] IR/Kconfig: sort hardware entries alphabetically 2010-10-21 01:18:33 -02:00
lirc_dev.c [media] IR/lirc: further ioctl portability fixups 2010-10-21 01:18:34 -02:00
Makefile [media] IR: add driver for Nuvoton w836x7hg integrated CIR 2010-10-21 01:18:30 -02:00
mceusb.c V4L/DVB: mceusb: add two new ASUS device IDs 2010-09-27 22:21:52 -03:00
nuvoton-cir.c [media] nuvoton-cir: add proper rx fifo overrun handling 2010-10-21 01:18:32 -02:00
nuvoton-cir.h [media] IR: add driver for Nuvoton w836x7hg integrated CIR 2010-10-21 01:18:30 -02:00
rc-map.c V4L/DVB: IR: Allow not to compile keymaps in 2010-08-08 23:43:00 -03:00
streamzap.c V4L/DVB: IR/streamzap: functional in-kernel decoding 2010-10-21 01:04:47 -02:00