aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2021-07-03 12:46:20 +0300
committerAlex Deucher <[email protected]>2021-07-08 17:47:28 -0400
commit64598e23de7873b9d47cd9b9a02daa2bb4ded343 (patch)
treeaf0cd220498c8145cfb44a1af2898b41aa065ba2 /tools/perf/scripts/python
parentb8badd507a5b76a8e58c864b01116f3de43464cb (diff)
drm/amdgpu: return -EFAULT if copy_to_user() fails
If copy_to_user() fails then this should return -EFAULT instead of -EINVAL. Fixes: c65b0805e77919 ("drm/amdgpu: RAS EEPROM table is now in debugfs") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Luben Tuikov <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions