PCI: Finally make pci_root_buses private
Get series with b4
b4 am [email protected] change-id 20260508-priv_root_buses-0263ef2679adVersions newest first
- v1 Latest5 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | alpha/pci: Use official API to iterate over PCI busesarch/ | +2 | 0 replies | |
| 2/5 | arm/pci: Use official API to iterate over PCI busesarch/ | +2 | 1 reply | |
| 3/5 | powerpc/pci: Use official API to iterate over PCI busesarch/ arch/ | +6 | 0 replies | |
| 4/5 | x86/pci: Use official API to iterate over PCI busesarch/ | +8 | 2 replies | |
| 5/5 | PCI: Make pci_root_buses private to PCI coredrivers/ drivers/ include/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] PCI: Finally make pci_root_buses private
Hi all!
The ominous warning about pci_root_buses in drivers/pci/probe.c caught my attention. Looking closer, I found that there are uses in four arch-specific files left before we can stop exposing that symbol outside of drivers/pci.
Finish off the job that Yinghai Lu started in 2013 - see
https://msgid.link/[email protected]/
The entire series has been compile-tested only - with defconfigs on alpha, arm, powerpc, and x86.
---
Gerd Bayer (5):
alpha/pci: Use official API to iterate over PCI buses arm/pci: Use official API to iterate over PCI buses powerpc/pci: Use official API to iterate over PCI buses x86/pci: Use official API to iterate over PCI buses
PCI: Make pci_root_buses private to PCI core
arch/alpha/kernel/pci.c | 4 ++-- arch/arm/kernel/bios32.c | 4 ++-- arch/powerpc/kernel/pci-common.c | 7 ++++--- arch/powerpc/kernel/pci_64.c | 4 ++-- arch/x86/pci/i386.c | 14 ++++++++------ drivers/pci/pci.h | 3 +++ drivers/pci/probe.c | 2 -- include/linux/pci.h | 4 ---- 8 files changed, 21 insertions(+), 21 deletions(-)
---
base-commit: 5d6919055dec134de3c40167a490f33c74c12581
change-id: 20260508-priv_root_buses-0263ef2679ad
Best regards,
Signature · 1 line
Gerd Bayer <[email protected]>