diff options
| author | Dan Carpenter <[email protected]> | 2025-05-23 16:07:58 +0000 |
|---|---|---|
| committer | Dave Airlie <[email protected]> | 2025-05-24 04:36:07 +0000 |
| commit | f8bb3ed3197966fb60bedcbdc126d2bd5bc0a77f (patch) | |
| tree | 09f80aebc35341fc45439a77b38940f584027612 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | Merge tag 'drm-xe-next-fixes-2025-05-23' of https://gitlab.freedesktop.org/dr... (diff) | |
| download | kernel-f8bb3ed3197966fb60bedcbdc126d2bd5bc0a77f.tar.gz kernel-f8bb3ed3197966fb60bedcbdc126d2bd5bc0a77f.zip | |
drm/nouveau/tegra: Fix error pointer vs NULL return in nvkm_device_tegra_resource_addr()
The nvkm_device_tegra_resource() function returns a mix of error pointers
and NULL. The callers only expect it to return NULL on error. Change it
to only return NULL.
Fixes: 76b8f81a5b92 ("drm/nouveau: improve handling of 64-bit BARs")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Timur Tabi <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Link: https://lore.kernel.org/dri-devel/[email protected]/T/#t
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
