diff options
| author | Lorenzo Pieralisi <[email protected]> | 2025-08-01 07:58:18 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2025-08-05 08:43:48 +0000 |
| commit | a8913d54ab1f9ed871b4e45a7c8a4f7a9949d071 (patch) | |
| tree | b72feac7916aa147521eb8d4d67f45ae91aa31b3 /tools/testing/selftests/bpf/prog_tests/queue_stack_map.c | |
| parent | irqchip/mvebu-gicp: Clear pending interrupts on init (diff) | |
| download | kernel-a8913d54ab1f9ed871b4e45a7c8a4f7a9949d071.tar.gz kernel-a8913d54ab1f9ed871b4e45a7c8a4f7a9949d071.zip | |
irqchip/gic-v5: iwb: Fix iounmap probe failure path
The 0-day bot reported that on the failure path the driver iounmap()s IWB
resources that are managed through devm_ioremap(), which is clearly wrong
because the driver would end up unmapping the MMIO resource twice on
probing failure.
Fix this by removing the error path altogether and by letting devres manage
the iounmapping on clean-up.
Fixes: 695949d8b16f ("irqchip/gic-v5: Add GICv5 IWB support")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/all/[email protected]
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/queue_stack_map.c')
0 files changed, 0 insertions, 0 deletions
