[PATCH 0/2] PCI/PM: Use dev_printk() when possible

From: Bjorn Helgaas
Date: Thu Oct 17 2019 - 17:28:59 EST


From: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>

Some PM messages, e.g., "PCI PM: Device state not saved by %pS\n", had no
indication of what device was affected. Add pci_WARN() and use it.

Bjorn Helgaas (2):
PCI/PM: Use PCI dev_printk() wrappers for consistency
PCI/PM: Use pci_WARN() to include device information

drivers/pci/pci-driver.c | 45 ++++++++++++++++++++--------------------
include/linux/pci.h | 8 +++++++
2 files changed, 31 insertions(+), 22 deletions(-)

--
2.23.0.866.gb869b98d4c-goog