[PATCH] drm/tegra: nvdec: Fix dma_alloc_coherent error check
Thierry Reding
thierry.reding at gmail.com
Fri Jul 4 09:16:35 UTC 2025
On Wed, Jul 02, 2025 at 11:08:07AM +0900, Mikko Perttunen wrote:
> From: Mikko Perttunen <mperttunen at nvidia.com>
>
> Check for NULL return value with dma_alloc_coherent, in line with
> Robin's fix for vic.c in 'drm/tegra: vic: Fix DMA API misuse'.
>
> Fixes: 46f226c93d35 ("drm/tegra: Add NVDEC driver")
> Signed-off-by: Mikko Perttunen <mperttunen at nvidia.com>
> ---
> drivers/gpu/drm/tegra/nvdec.c | 6 ++----
> 1 file changed, 2 insertions(+), 4 deletions(-)
Applied to drm-misc-fixes.
Thanks,
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20250704/90c75a00/attachment.sig>
More information about the dri-devel
mailing list