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)
Sun, Mar 29, 1:01 AM
Unknown Object (File)
Sat, Mar 28, 1:31 PM
Unknown Object (File)
Wed, Mar 25, 11:55 PM
Unknown Object (File)
Wed, Mar 25, 9:19 PM
Unknown Object (File)
Wed, Mar 25, 10:03 AM
Unknown Object (File)
Tue, Mar 24, 7:16 PM
Unknown Object (File)
Sun, Mar 22, 10:53 AM
Unknown Object (File)
Sun, Mar 22, 4:41 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 Not Applicable
Unit
Tests Not Applicable