diff options
author | Mikko Perttunen <mperttunen@nvidia.com> | 2025-07-02 11:08:07 +0900 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2025-07-04 11:15:07 +0200 |
commit | 44306a684cd1699b8562a54945ddc43e2abc9eab (patch) | |
tree | 90f78222550cb3601860d2f9d722861b38405bce /rust/helpers/mutex.c | |
parent | 2e9fdbe5ec7a65b66da9c202cac621a3a366fde3 (diff) |
drm/tegra: nvdec: Fix dma_alloc_coherent error check
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@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20250702-nvdec-dma-error-check-v1-1-c388b402c53a@nvidia.com
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions