[PATCH 0/5] PCI: Finally make pci_root_buses private

Gerd Bayer posted 5 patches 1 week, 2 days ago
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(-)
[PATCH 0/5] PCI: Finally make pci_root_buses private
Posted by Gerd Bayer 1 week, 2 days ago
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/1359265003-16166-23-git-send-email-yinghai@kernel.org/

The entire series has been compile-tested only - with defconfigs on
alpha, arm, powerpc, and x86.

Signed-off-by: Gerd Bayer <gbayer@linux.ibm.com>
---
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,
-- 
Gerd Bayer <gbayer@linux.ibm.com>