diff options
author | 2013-07-10 13:58:59 +0300 | |
---|---|---|
committer | 2013-07-11 16:48:45 -0700 | |
commit | 5e631a03af7eaa55b9ef7fa7611144c2c698c6c6 (patch) | |
tree | 6c6d5a4df7d60a7eaa849c0dd10b41d64fd8855d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mlx5_core: Adjust hca_cap.uar_page_sz to conform to Connect-IB spec (diff) | |
download | linux-dev-5e631a03af7eaa55b9ef7fa7611144c2c698c6c6.tar.xz linux-dev-5e631a03af7eaa55b9ef7fa7611144c2c698c6c6.zip |
mlx5: Return -EFAULT instead of -EPERM
For copy_to/from_user() failure, the correct error code is -EFAULT not
-EPERM.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions