Page MenuHomeFreeBSD

LinuxKPI: pci.h make pci_dev argument const for pci_{read,write}_config*()
ClosedPublic

Authored by bz on Oct 25 2021, 5:11 PM.
Tags
None
Referenced Files
F87269008: D32644.id97431.diff
Mon, Jul 1, 1:01 AM
Unknown Object (File)
Wed, Jun 19, 3:58 PM
Unknown Object (File)
Apr 21 2024, 12:39 PM
Unknown Object (File)
Mar 28 2024, 9:56 PM
Unknown Object (File)
Mar 7 2024, 2:14 PM
Unknown Object (File)
Feb 17 2024, 3:51 PM
Unknown Object (File)
Jan 15 2024, 5:27 PM
Unknown Object (File)
Jan 15 2024, 1:02 AM

Details

Summary

Make the struct pci_dev argument to the pci_{read,write}_config*()
functions "const" to match the Linux definition as some drivers
try to pass in a const argument which we currently fail to honor.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 42348
Build 39236: arc lint + arc unit