Page MenuHomeFreeBSD

LinuxKPI: pci.h / linux_pci.c rename pci_driver field
ClosedPublic

Authored by bz on Oct 25 2021, 5:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 7, 1:57 PM
Unknown Object (File)
Mon, May 4, 2:00 AM
Unknown Object (File)
Wed, Apr 29, 7:31 PM
Unknown Object (File)
Tue, Apr 28, 1:43 AM
Unknown Object (File)
Thu, Apr 23, 7:24 AM
Unknown Object (File)
Wed, Apr 22, 11:58 PM
Unknown Object (File)
Mon, Apr 20, 12:58 AM
Unknown Object (File)
Apr 13 2026, 3:29 PM

Details

Summary

Rename the struct pci_driver {} field got the list_head from links
to node as a driver is actually initialsing this to {} which seems
questionable but it will at least make us match the Linux structure
field name.

According to my investigations this field is not used anywhere outside
our implementation so I consider this MFC-able.

MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bz requested review of this revision.Oct 25 2021, 5:20 PM

I cannot find a "graphics" or "drm" review group; do we have one? The main concern here is not to break drm binary drivers shipped in binary packages when MFCing.

This revision is now accepted and ready to land.Oct 25 2021, 5:30 PM
manu added a subscriber: manu.

We do not seems to use this in drm.

In D32645#736890, @manu wrote:

We do not seems to use this in drm.

Thanks a lot for confirming so quickly.