aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorWang Qing <[email protected]>2021-03-01 20:01:33 +0800
committerHeiko Carstens <[email protected]>2021-03-08 10:46:29 +0100
commit51c44babdc19aaf882e1213325a0ba291573308f (patch)
treee672a65cdca9dc3cfa5bdb5ece9dbf63e58afa00 /tools/perf/scripts/python/export-to-postgresql.py
parent46b635b6abcf2ee106d36f2e84e942f56030c8f5 (diff)
s390/cio: 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. Fixes: e01bcdd61320 ("vfio: ccw: realize VFIO_DEVICE_GET_REGION_INFO ioctl") Signed-off-by: Wang Qing <[email protected]> Signed-off-by: Heiko Carstens <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Carstens <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions