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

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
rGfcc350c375f7: LinuxKPI: Add pci_iomap_range function
Branches
Unknown
Tags
Unknown