diff options
author | Dmitry Torokhov <[email protected]> | 2012-01-10 00:45:12 -0800 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2012-01-10 23:13:57 -0800 |
commit | 4fa0771138d0b56fe59ab8ab3b1ce9e594484362 (patch) | |
tree | c16c5cd1d10d2bc7bec65b4fc553f206e52a0bc4 /tools/perf/scripts/python/sched-migration.py | |
parent | 0c62fbf6009fa338bd28bdcb14efbfc5fc0c579b (diff) |
Input: serio_raw - return proper result when serio_raw_write fails
If serio_raw_write was always returning number of bytes successfully
sent to serio port and never signalled error condition to the caller.
Change it so that for completely failed transfers appropriate error
code returned to the caller (partially successful writes still return
number of bytes transferred).
Reported-by: Che-liang Chiou <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions