Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b0f71c99 authored by Vojtech Pavlik's avatar Vojtech Pavlik Committed by Dmitry Torokhov
Browse files

Input: Fix a warning in evdev's 32-bit emulation code.



Signed-off-by: default avatarVojtech Pavlik <vojtech@suse.cz>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 52658bb6
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -491,7 +491,9 @@ static long evdev_ioctl_compat(struct file *file, unsigned int cmd, unsigned lon
	struct input_dev *dev = evdev->handle.dev;
	struct input_absinfo abs;
	void __user *p = compat_ptr(arg);
#ifdef __BIG_ENDIAN
	int i;
#endif

	if (!evdev->exist) return -ENODEV;