mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-04-04 13:34:39 +00:00
Input: Fix a warning in evdev's 32-bit emulation code.
Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
parent
52658bb685
commit
b0f71c9968
1 changed files with 2 additions and 0 deletions
|
@ -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_dev *dev = evdev->handle.dev;
|
||||||
struct input_absinfo abs;
|
struct input_absinfo abs;
|
||||||
void __user *p = compat_ptr(arg);
|
void __user *p = compat_ptr(arg);
|
||||||
|
#ifdef __BIG_ENDIAN
|
||||||
int i;
|
int i;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (!evdev->exist) return -ENODEV;
|
if (!evdev->exist) return -ENODEV;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue