projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52658bb
)
Input: Fix a warning in evdev's 32-bit emulation code.
author
Vojtech Pavlik
<vojtech@suse.cz>
Sun, 29 May 2005 07:26:50 +0000
(
02:26
-0500)
committer
Dmitry Torokhov
<dtor_core@ameritech.net>
Sun, 29 May 2005 07:26:50 +0000
(
02:26
-0500)
Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/evdev.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/input/evdev.c
b/drivers/input/evdev.c
index a04a8314dc87322e815e56b797365635bd8de07d..c1c220fcb7630eef17a807f9717ec0471a41a0f2 100644
(file)
--- a/
drivers/input/evdev.c
+++ b/
drivers/input/evdev.c
@@
-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;