Request number for ioctls are encoded on 8bit. Values for are superior to 255. The effective value is 0x2d. The effective ioctl number is still the same one, it will not change the api in anyway. Signed-off-by: Gabriel Laskar <gabriel@xxxxxxxxxxxx> --- include/uapi/linux/uinput.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/linux/uinput.h b/include/uapi/linux/uinput.h index 358f7d9..e1daf2e 100644 --- a/include/uapi/linux/uinput.h +++ b/include/uapi/linux/uinput.h @@ -91,7 +91,7 @@ struct uinput_ff_erase { * the integer pointed to by the ioctl argument. The protocol version * is hard-coded in the kernel and is independent of the uinput device. */ -#define UI_GET_VERSION _IOR(UINPUT_IOCTL_BASE, 301, unsigned int) +#define UI_GET_VERSION _IOR(UINPUT_IOCTL_BASE, 0x2d, unsigned int) /* * To write a force-feedback-capable driver, the upload_effect -- 2.2.1 -- To unsubscribe from this list: send the line "unsubscribe linux-api" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html