diff options
author | Philipp Stanner <[email protected]> | 2024-01-31 10:00:20 +0100 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2024-01-31 14:40:40 -0600 |
commit | 7626913652cc786c238e2dd7d8740b17d41b2637 (patch) | |
tree | e51fc6e76b63a2c22cd7989340a6ec4618b680eb /scripts/tracing/draw_functrace.py | |
parent | 6613476e225e090cc9aad49be7fa504e290dd33d (diff) |
pci_iounmap(): Fix MMIO mapping leak
The #ifdef ARCH_HAS_GENERIC_IOPORT_MAP accidentally also guards iounmap(),
which means MMIO mappings are leaked.
Move the guard so we call iounmap() for MMIO mappings.
Fixes: 316e8d79a095 ("pci_iounmap'2: Electric Boogaloo: try to make sense of it all")
Link: https://lore.kernel.org/r/[email protected]
Reported-by: Danilo Krummrich <[email protected]>
Suggested-by: Arnd Bergmann <[email protected]>
Signed-off-by: Philipp Stanner <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Arnd Bergmann <[email protected]>
Cc: <[email protected]> # v5.15+
Diffstat (limited to 'scripts/tracing/draw_functrace.py')
0 files changed, 0 insertions, 0 deletions