summaryrefslogtreecommitdiff
path: root/rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorYang Wang <kevinyang.wang@amd.com>2026-05-07 16:09:51 +0800
committerAlex Deucher <alexander.deucher@amd.com>2026-05-11 16:08:54 -0400
commit5da1e1dfd15727918aab2c1a79c019f179991e80 (patch)
tree964c321ef205b1a4656d8c8f5bc544f982aaafe8 /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
parenta7060a4a5d07c5f4a65e73761975e5c87de738c0 (diff)
drm/amdgpu: fix error return code in mes_v12_1_map_test_bo
The function mes_v12_1_map_test_bo incorrectly returned 0 unconditionallyon error path, which would hide the real error code and mislead upperlayers about the failure status. Fix it by returning the correct error code 'r' instead of 0. Fixes: 44e5195fa3d4 ("drm/amdgpu/mes_v12_1: add mes self test"); Signed-off-by: Yang Wang <kevinyang.wang@amd.com> Reviewed-by: Asad Kamal <asad.kamal@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions