diff options
author | 2011-01-14 09:39:11 +0000 | |
---|---|---|
committer | 2011-01-18 13:40:34 +0900 | |
commit | 0b7f1cc79d61427961e311c6a21f528bdb226e40 (patch) | |
tree | 773b512ff69f55966af6ba0cc69bd82d85723b64 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | video: nuc900fb: properly free resources in nuc900fb_remove (diff) | |
download | wireguard-linux-0b7f1cc79d61427961e311c6a21f528bdb226e40.tar.xz wireguard-linux-0b7f1cc79d61427961e311c6a21f528bdb226e40.zip |
video: pxa3xx-gcu: Return -EFAULT when copy_from_user() fails
Return -EFAULT instead of number of bytes that could not be copied if
copy_from_user() fails.
Also fix a typo in the comments.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions