aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2020-10-23 15:08:53 +0300
committerMichael S. Tsirkin <[email protected]>2020-10-30 04:02:25 -0400
commit7922460e33c81f41e0d2421417228b32e6fdbe94 (patch)
tree8c5fbe06554b29562d12c1a5a22b1a55aa4fbc55 /tools/perf/scripts/python/export-to-postgresql.py
parent70a62fce262854c4aabaa47e46e82fce9f3f3938 (diff)
vhost_vdpa: Return -EFAULT if copy_from_user() fails
The copy_to/from_user() functions return the number of bytes which we weren't able to copy but the ioctl should return -EFAULT if they fail. Fixes: a127c5bbb6a8 ("vhost-vdpa: fix backend feature ioctls") Signed-off-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/20201023120853.GI282278@mwanda Signed-off-by: Michael S. Tsirkin <[email protected]> Cc: [email protected] Acked-by: Jason Wang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions