Page MenuHomeFreeBSD

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

Authored by bz on Thu, Jul 31, 7:18 AM.
Tags
None
Referenced Files
F126697273: D51651.diff
Fri, Aug 22, 6:33 PM
Unknown Object (File)
Thu, Aug 21, 6:37 AM
Unknown Object (File)
Wed, Aug 20, 8:51 PM
Unknown Object (File)
Tue, Aug 19, 4:00 PM
Unknown Object (File)
Thu, Aug 14, 5:34 PM
Unknown Object (File)
Tue, Aug 12, 8:15 AM
Unknown Object (File)
Mon, Aug 11, 11:49 AM
Unknown Object (File)
Sat, Aug 2, 7:19 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

Event Timeline

bz requested review of this revision.Thu, Jul 31, 7:19 AM
This revision is now accepted and ready to land.Thu, Jul 31, 10:21 AM
sys/compat/linuxkpi/common/src/linux_pci.c
806

Forgot to bring this over from the larger change; will be part of the commit. s/mimo_off/off/