diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2023-08-18 12:21:32 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-08-30 15:20:36 -0400 |
commit | a5600853167aeba5cade81f184a382a0d1b14641 (patch) | |
tree | b80009b1a57343e86c986a03be352db67adf21e5 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
parent | 7caebc8f99b29b590bd4e8c42a35a4fb593d4f29 (diff) | |
download | linux-a5600853167aeba5cade81f184a382a0d1b14641.tar.gz linux-a5600853167aeba5cade81f184a382a0d1b14641.tar.bz2 linux-a5600853167aeba5cade81f184a382a0d1b14641.zip |
drm/amd/pm: fix error flow in sensor fetching
Sensor fetching functions should return an signed int to
handle errors properly.
Reviewed-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Reported-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions