aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/Context.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2017-08-26 09:04:18 +0300
committerGreg Kroah-Hartman <[email protected]>2017-08-28 10:24:06 +0200
commit092c3def24bb68a00ff58c76ed67b9ff448387ce (patch)
treee7b7a081dc2fafcebd3ece90a5047b0e16806b70 /tools/perf/scripts/python/Perf-Trace-Util/Context.c
parent3ca121c2f4be85f3fbf398583bc8c42a145e3533 (diff)
staging: lustre: obdclass: return -EFAULT if copy_from_user() fails
The copy_from_user() function returns the number of bytes which we weren't able to copy. We don't want to return that to the user but instead we want to return -EFAULT. Fixes: d7e09d0397e8 ("staging: add Lustre file system client support") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions