diff options
| author | Sam Ravnborg <[email protected]> | 2008-04-26 22:57:25 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2008-04-27 14:26:51 -0700 |
| commit | 3f91bd420a955803421f2db17b2e04aacfbb2bb8 (patch) | |
| tree | 52f47db69004eddcd22bfa69246d08632dfcd256 /tools/perf/scripts/python | |
| parent | 5c5d6dabb7aac9d0ea7aa76b909bbd28efa99065 (diff) | |
can: Fix copy_from_user() results interpretation
Both copy_to_ and _from_user return the number of bytes, that failed to
reach their destination, not the 0/-EXXX values.
Based on patch from Pavel Emelyanov <[email protected]>
Signed-off-by: Sam Ravnborg <[email protected]>
Acked-by: Oliver Hartkopp <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions