HomeFreeBSD

LinuxKPI: Fix resource leak on pci_iounmap-ing of PCI BAR

Description

LinuxKPI: Fix resource leak on pci_iounmap-ing of PCI BAR

If the resource was allocated with want_iomap_res flag set.

Sponsored by: Serenity CyberSecurity, LLC
MFC after: 1 week
Reviewed by: manu, bz
Differential Revision: https://reviews.freebsd.org/D45905

(cherry picked from commit 14fc33ea3a0571ca70e609b6f9e67db39f7c6140)

Details

Provenance
wulfAuthored on Jul 21 2024, 1:10 PM
Reviewer
manu
Differential Revision
D45905: LinuxKPI: Fix resource leak on pci_iounmap-ing of PCI BAR
Parents
rG7403f2c657dc: LinuxKPI: Add pci_iomap_range function
Branches
Unknown
Tags
Unknown