[PATCH v1 0/4] PCI: shpchp: NULL pointer fix and cleanups
From: Bjorn Helgaas
Date: Mon Jun 25 2018 - 18:59:40 EST
The first patch fixes a NULL pointer dereference reported by Marc and would
be targeted for v4.18.
The others simplify the shpchp probe path and would be for v4.19.
---
Bjorn Helgaas (4):
PCI: shpchp: Manage SHPC unconditionally on non-ACPI systems
PCI: shpchp: Separate existence of SHPC and permission to use it
PCI: shpchp: Inline shpchp_is_native()
PCI: hotplug: Implement hotplug_is_native() only when CONFIG_ACPI=y
drivers/pci/hotplug/acpi_pcihp.c | 40 +++++++++++++++++++++++--------------
drivers/pci/hotplug/shpchp_core.c | 21 +++++++++++++++++++
drivers/pci/pci-acpi.c | 29 ---------------------------
include/linux/pci.h | 1 +
include/linux/pci_hotplug.h | 20 ++++++++++---------
5 files changed, 58 insertions(+), 53 deletions(-)