aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
diff options
context:
space:
mode:
authorCharles Han <[email protected]>2025-02-11 10:20:49 +0000
committerTomi Valkeinen <[email protected]>2025-02-11 13:20:26 +0000
commitd0660f9c588a1246a1a543c91a1e3cad910237da (patch)
treee2c970c6d29078c6ee655bb6bdeb27f468c4e66c /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
parentdrm: xlnx: zynqmp: Fix max dma segment size (diff)
downloadkernel-d0660f9c588a1246a1a543c91a1e3cad910237da.tar.gz
kernel-d0660f9c588a1246a1a543c91a1e3cad910237da.zip
drm: xlnx: zynqmp_dpsub: Add NULL check in zynqmp_audio_init
devm_kasprintf() calls can return null pointers on failure. But some return values were not checked in zynqmp_audio_init(). Add NULL check in zynqmp_audio_init(), avoid referencing null pointers in the subsequent code. Fixes: 3ec5c1579305 ("drm: xlnx: zynqmp_dpsub: Add DP audio support") Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Charles Han <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions