diff options
author | Lorenzo Pieralisi <lpieralisi@kernel.org> | 2025-08-01 09:58:18 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2025-08-05 10:43:48 +0200 |
commit | a8913d54ab1f9ed871b4e45a7c8a4f7a9949d071 (patch) | |
tree | b72feac7916aa147521eb8d4d67f45ae91aa31b3 /scripts/lxdialog/msgbox.c | |
parent | 3c3d7dbab2c70a4bca47634d564bf659351c05ca (diff) |
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 <lkp@intel.com>
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/all/20250801-gic-v5-fixes-6-17-v1-1-4fcedaccf9e6@kernel.org
Closes: https://lore.kernel.org/oe-kbuild-all/202508010038.N3r4ZmII-lkp@intel.com
Diffstat (limited to 'scripts/lxdialog/msgbox.c')
0 files changed, 0 insertions, 0 deletions