[PATCH next] drm/nouveau/tegra: Fix error pointer vs NULL return in nvkm_device_tegra_resource_addr()
Timur Tabi
ttabi at nvidia.com
Fri May 23 20:18:17 UTC 2025
On Fri, 2025-05-23 at 19:07 +0300, Dan Carpenter wrote:
> 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 <dan.carpenter at linaro.org>
Reviewed-by: Timur Tabi <ttabi at nvidia.com>
More information about the dri-devel
mailing list