aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
diff options
context:
space:
mode:
authorAndrew Jones <[email protected]>2025-04-30 12:48:37 +0000
committerThomas Gleixner <[email protected]>2025-04-30 21:25:10 +0000
commite6a3fc4f10b872d02e25f83227e725c79b25d893 (patch)
tree09f5bbc5dd09cb7b8c08d1a692e70cebec267322 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
parentLinux 6.15-rc4 (diff)
downloadkernel-e6a3fc4f10b872d02e25f83227e725c79b25d893.tar.gz
kernel-e6a3fc4f10b872d02e25f83227e725c79b25d893.zip
genirq/msi: Prevent NULL pointer dereference in msi_domain_debug_show()
irq_domain_debug_show_one() calls msi_domain_debug_show() with a non-NULL domain pointer and a NULL irq_data pointer. irq_debug_show_data() calls it with a NULL domain pointer. The domain pointer is not used, but the irq_data pointer is required to be non-NULL and lacks a NULL pointer check. Add the missing NULL pointer check to ensure there is a non-NULL irq_data pointer in msi_domain_debug_show() before dereferencing it. [ tglx: Massaged change log ] Fixes: 01499ae673dc ("genirq/msi: Expose MSI message data in debugfs") Signed-off-by: Andrew Jones <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/all/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions