twek evdev to compile
This commit is contained in:
@@ -346,6 +346,8 @@ static ssize_t evdev_write(struct file *file, const char __user *buffer,
|
||||
struct input_event event;
|
||||
int retval;
|
||||
|
||||
retval = 0;
|
||||
|
||||
if (count < input_event_size())
|
||||
return -EINVAL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user