aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorSungjong Seo <[email protected]>2025-03-26 14:48:48 +0000
committerNamjae Jeon <[email protected]>2025-03-29 13:03:07 +0000
commit59c30e31425833385e6644ad33151420e37eabe1 (patch)
treed3efb9860235af4e57d217f80db2190b7afc1bfe /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parentexfat: fix missing shutdown check (diff)
downloadkernel-59c30e31425833385e6644ad33151420e37eabe1.tar.gz
kernel-59c30e31425833385e6644ad33151420e37eabe1.zip
exfat: fix potential wrong error return from get_block
If there is no error, get_block() should return 0. However, when bh_read() returns 1, get_block() also returns 1 in the same manner. Let's set err to 0, if there is no error from bh_read() Fixes: 11a347fb6cef ("exfat: change to get file size from DataLength") Cc: [email protected] Signed-off-by: Sungjong Seo <[email protected]> Reviewed-by: Yuezhang Mo <[email protected]> Signed-off-by: Namjae Jeon <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions