Files
linux/drivers/gpu/drm/amd/amdgpu
Dan Carpenter b8badd507a drm/amdgpu: unlock on error in amdgpu_ras_debugfs_table_read()
This error path needs to unlock before returning.  While we're at it,
the correct error code from copy_to_user() failure is -EFAULT, not
-EINVAL.

Fixes: c65b0805e7 ("drm/amdgpu: RAS EEPROM table is now in debugfs")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Luben Tuikov <luben.tuikov@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-07-08 17:47:16 -04:00
..
2021-06-15 17:25:42 -04:00
2021-05-19 22:43:43 -04:00
2021-06-15 17:25:42 -04:00
2021-04-09 16:46:32 -04:00
2021-07-01 00:24:41 -04:00
2021-05-19 23:50:27 -04:00
2021-06-30 00:18:23 -04:00
2021-05-19 23:50:27 -04:00
2020-07-02 12:02:50 -04:00
2020-08-14 16:22:39 -04:00
2021-05-25 23:44:06 -04:00
2020-07-01 01:59:24 -04:00
2021-05-19 22:29:30 -04:00
2020-07-02 12:02:50 -04:00