If input_event_from_user() fails in evdev write() and at least one
event has been written successfully then return the number of bytes
written. If no events have been written, then the EFAULT error is
returned.
Signed-off-by: Ryan Mallon
---
drivers/input/evdev.c |3 ++-
1 file changed, 2
If input_event_from_user() fails in evdev write() and at least one
event has been written successfully then return the number of bytes
written. If no events have been written, then the EFAULT error is
returned.
Signed-off-by: Ryan Mallon rmal...@gmail.com
---
drivers/input/evdev.c |3 ++-
1
2 matches
Mail list logo