diff options
| author | Joe Hattori <[email protected]> | 2024-12-15 03:39:45 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2025-01-15 09:38:43 +0000 |
| commit | 9322d1915f9d976ee48c09d800fbd5169bc2ddcc (patch) | |
| tree | d7466dec4b8fa95b735f55f4ca939d878d5e3808 /drivers/gpu/drm/amd/amdgpu | |
| parent | irqchip/sunxi-nmi: Add missing SKIP_WAKE flag (diff) | |
| download | kernel-9322d1915f9d976ee48c09d800fbd5169bc2ddcc.tar.gz kernel-9322d1915f9d976ee48c09d800fbd5169bc2ddcc.zip | |
irqchip: Plug a OF node reference leak in platform_irqchip_probe()
platform_irqchip_probe() leaks a OF node when irq_init_cb() fails. Fix it
by declaring par_np with the __free(device_node) cleanup construct.
This bug was found by an experimental static analysis tool that I am
developing.
Fixes: f8410e626569 ("irqchip: Add IRQCHIP_PLATFORM_DRIVER_BEGIN/END and IRQCHIP_MATCH helper macros")
Signed-off-by: Joe Hattori <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/all/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
0 files changed, 0 insertions, 0 deletions
