Page MenuHomeFreeBSD

LinuxKPI: pci: fix argument type to linuxkpi_pci_iomap[_range]
ClosedPublic

Authored by bz on Jul 31 2025, 7:18 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jun 23, 11:27 AM
Unknown Object (File)
Mon, Jun 22, 10:52 PM
Unknown Object (File)
Sun, Jun 21, 6:14 PM
Unknown Object (File)
May 7 2026, 7:10 PM
Unknown Object (File)
Apr 27 2026, 2:59 PM
Unknown Object (File)
Apr 25 2026, 9:45 AM
Unknown Object (File)
Apr 21 2026, 6:09 AM
Unknown Object (File)
Apr 20 2026, 5:09 AM
Subscribers

Details

Summary

The last argument (maxlen) to linuxkpi_pci_iomap_range and
linuxkpi_pci_iomap is an unsigned long not an int. LinuxKPI is
not using that argument in the end but fix it where needed.
While here adjust the name to 'maxlen' and remove the "mmio_" to
bar and off.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 65861
Build 62744: arc lint + arc unit