Page MenuHomeFreeBSD

linuxkpi: Move pci_alloc_irq_vectors to .c file
ClosedPublic

Authored by imp on Apr 4 2022, 5:04 PM.
Tags
None
Referenced Files
F167268773: D34774.id104572.diff
Thu, Aug 20, 1:08 PM
Unknown Object (File)
Wed, Aug 19, 5:00 PM
Unknown Object (File)
Wed, Aug 19, 4:16 PM
Unknown Object (File)
Wed, Aug 19, 10:54 AM
Unknown Object (File)
Wed, Aug 19, 9:18 AM
Unknown Object (File)
Tue, Aug 18, 8:19 PM
Unknown Object (File)
Tue, Aug 18, 8:06 PM
Unknown Object (File)
Mon, Aug 17, 8:37 PM

Details

Summary

pci_alloc_irq_vectors encodes the size of struct msix_entry
into its code. Move from .h to .c to move this knowledge from
client modules to linuxkpi module.

Sponsored by: Netflix

Diff Detail

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

Event Timeline

imp requested review of this revision.Apr 4 2022, 5:04 PM
hselasky added a subscriber: hselasky.

Maybe prefix those functions with lkpi_xxx

This revision is now accepted and ready to land.Apr 4 2022, 5:21 PM

Maybe prefix those functions with lkpi_xxx

The current code is a bit inconsistent about this sort of thing. What's the rule we should enforce?

This revision was automatically updated to reflect the committed changes.