aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorHaowen Bai <[email protected]>2022-04-21 02:26:59 +0000
committerLinus Walleij <[email protected]>2022-06-15 13:19:57 +0000
commit84a85d3fef2e75b1fe9fc2af6f5267122555a1ed (patch)
treed7dcfdddda38fe4c3e566772ec9fd6082d4e651e /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentLinux 5.19-rc1 (diff)
downloadkernel-84a85d3fef2e75b1fe9fc2af6f5267122555a1ed.tar.gz
kernel-84a85d3fef2e75b1fe9fc2af6f5267122555a1ed.zip
pinctrl: aspeed: Fix potential NULL dereference in aspeed_pinmux_set_mux()
pdesc could be null but still dereference pdesc->name and it will lead to a null pointer access. So we move a null check before dereference. Signed-off-by: Haowen Bai <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions