Linux kernel bug fix: drm/amdgpu: return -EFAULT if copy_to_user() fails
Subsystem: gpu/amd (drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c)
Bug type: crash, severity: high
Files changed: drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c
Introduced by Luben Tuikov on 2021-07-01 00:24:41 -0400; fixed by Dan Carpenter on 2021-07-08 17:47:28 -0400 (lifetime: 7 days)