Skip to content

Commit

Permalink
Input: Fix a warning in evdev's 32-bit emulation code.
Browse files Browse the repository at this point in the history
Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
  • Loading branch information
Vojtech Pavlik authored and Dmitry Torokhov committed May 29, 2005
1 parent 52658bb commit b0f71c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/input/evdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit b0f71c9

Please sign in to comment.