aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2024-04-02 09:56:19 +0000
committerBoris Brezillon <[email protected]>2024-04-03 07:06:27 +0000
commit99b74db1e27145bdf0afb85559aa70d951569ac3 (patch)
tree8e7e10c47f322f116c4b87c30b6c11bf69950516 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
parentdrm/panthor: Fix a couple -ENOMEM error codes (diff)
downloadkernel-99b74db1e27145bdf0afb85559aa70d951569ac3.tar.gz
kernel-99b74db1e27145bdf0afb85559aa70d951569ac3.zip
drm/panthor: Fix error code in panthor_gpu_init()
This code accidentally returns zero/success on error because of a typo. It should be "irq" instead of "ret". The other thing is that if platform_get_irq_byname() were to return zero then the error code would be cmplicated. Fortunately, it does not so we can just change <= to < 0. Fixes: 5cd894e258c4 ("drm/panthor: Add the GPU logical block") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Boris Brezillon <[email protected]> Signed-off-by: Boris Brezillon <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions