[PATCH 0/3] PCI: PCI_HEADER_TYPE bugfix & cleanups

From: Ilpo Järvinen
Date: Tue Oct 03 2023 - 08:53:20 EST


One bugfix and cleanups for PCI_HEADER_TYPE_* literals.

This series only covers what's within drivers/pci/. I'd have patches
for other subsystems too but I decided to wait with them until
PCI_HEADER_TYPE_MFD is in Linus' tree (to keep the series receipient
count reasonable, the rest can IMO go through the subsystem specific
trees once the define is there).

Ilpo Järvinen (3):
PCI: vmd: Correct PCI Header Type Register's MFD bit check
PCI: Add PCI_HEADER_TYPE_MFD pci_regs.h
PCI: Use PCI_HEADER_TYPE_* instead of literals

drivers/pci/controller/dwc/pci-layerscape.c | 2 +-
.../controller/mobiveil/pcie-mobiveil-host.c | 2 +-
drivers/pci/controller/pcie-iproc.c | 2 +-
drivers/pci/controller/pcie-rcar-ep.c | 2 +-
drivers/pci/controller/pcie-rcar-host.c | 2 +-
drivers/pci/controller/vmd.c | 5 ++---
drivers/pci/hotplug/cpqphp_ctrl.c | 6 ++---
drivers/pci/hotplug/cpqphp_pci.c | 22 +++++++++----------
drivers/pci/hotplug/ibmphp.h | 5 +++--
drivers/pci/hotplug/ibmphp_pci.c | 2 +-
drivers/pci/pci.c | 2 +-
drivers/pci/quirks.c | 6 ++---
include/uapi/linux/pci_regs.h | 1 +
13 files changed, 30 insertions(+), 29 deletions(-)

--
2.30.2