diff options
author | Wang Qing <[email protected]> | 2021-03-01 20:05:48 +0800 |
---|---|---|
committer | Vineet Gupta <[email protected]> | 2021-03-22 10:05:43 -0700 |
commit | 46e152186cd89d940b26726fff11eb3f4935b45a (patch) | |
tree | b8deeb0964152baa2379a015507ae4209b3b71df /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fac245216b68cdfccf3e2a8d20d6710b750bf20f (diff) |
arc: kernel: Return -EFAULT if copy_to_user() fails
The copy_to_user() function returns the number of bytes remaining to be
copied, but we want to return -EFAULT if the copy doesn't complete.
Signed-off-by: Wang Qing <[email protected]>
Signed-off-by: Vineet Gupta <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions