提交 b0f71c99 编写于 作者: V Vojtech Pavlik 提交者: Dmitry Torokhov

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

Signed-off-by: NVojtech Pavlik <vojtech@suse.cz>
Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
上级 52658bb6
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册