History

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input

Pull input subsystem fixes from Dmitry Torokhov. * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: Input: uinput - fix ioctl nr overflow for UI_GET_SYSNAME/VERSION Input: I8042 - add Acer Aspire 7738 to the nomux list Input: elantech - support new ICs types for version 4 Input: i8042 - reset keyboard to fix Elantech touchpad detection MAINTAINERS: remove Dmitry Torokhov's alternate address

Linus Torvalds committed 11 years ago

Commit 66893882 parents ec6f34e 029b1836 files · +58 −3Browse files

Showing the changes to include/uapi/linux (1 of 6 files). Show all

Unified · Split

include/uapi/linux/uinput.h+2−2
@@ -82,7 +82,7 @@ struct uinput_ff_erase { · 81 unmodified lines
8282 * The complete sysfs path is then /sys/devices/virtual/input/--NAME--
8383 * Usually, it is in the form "inputN"
8484 */
85−#define UI_GET_SYSNAME(len) _IOC(_IOC_READ, UINPUT_IOCTL_BASE, 300, len)
85+#define UI_GET_SYSNAME(len) _IOC(_IOC_READ, UINPUT_IOCTL_BASE, 44, len)
8686
8787 /**
8888 * UI_GET_VERSION - Return version of uinput protocol
@@ -91,7 +91,7 @@ struct uinput_ff_erase { · 2 unmodified lines
9191 * the integer pointed to by the ioctl argument. The protocol version
9292 * is hard-coded in the kernel and is independent of the uinput device.
9393 */
94−#define UI_GET_VERSION _IOR(UINPUT_IOCTL_BASE, 301, unsigned int)
94+#define UI_GET_VERSION _IOR(UINPUT_IOCTL_BASE, 45, unsigned int)
9595
9696 /*
9797 * To write a force-feedback-capable driver, the upload_effect