mbox series

[0/4] PCI: cpqphp: Fix and cleanups

Message ID 20241017143131.46163-1-ilpo.jarvinen@linux.intel.com (mailing list archive)
Headers show
Series PCI: cpqphp: Fix and cleanups | expand

Message

Ilpo Järvinen Oct. 17, 2024, 2:31 p.m. UTC
Fix one PCIBIOS_* return value confusion in cpqphp and cleanup a few
other things.

As for the last patch, I'm not entire sure if it's a step forward or
backward. I guess alternatively it would be possible to add the missing
recursion too if that's preferred but I cannot test the code (and it's
somewhat unclear what that code even attempts to do when considering
all possible topologies).

Ilpo Järvinen (4):
  PCI: cpqphp: Fix PCIBIOS_* return value confusions
  PCI: cpqphp: Use pci_bus_read_dev_vendor_id() to detect presence
  PCI: cpqphp: Use define to read class/revision dword
  PCI: cpqphp: Simplify PCI_ScanBusForNonBridge()

 drivers/pci/hotplug/cpqphp_pci.c | 43 +++++++++++---------------------
 1 file changed, 15 insertions(+), 28 deletions(-)