diff options
| author | Haowen Bai <[email protected]> | 2022-04-21 02:26:59 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2022-06-15 13:19:57 +0000 |
| commit | 84a85d3fef2e75b1fe9fc2af6f5267122555a1ed (patch) | |
| tree | d7dcfdddda38fe4c3e566772ec9fd6082d4e651e /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | Linux 5.19-rc1 (diff) | |
| download | kernel-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
