summaryrefslogtreecommitdiff
path: root/include/linux/pci-ecam.h
diff options
context:
space:
mode:
authorNiklas Schnelle <schnelle@linux.ibm.com>2021-03-11 14:23:12 +0100
committerBjorn Helgaas <bhelgaas@google.com>2021-05-27 18:57:52 -0500
commitea4aae05974334e9837d86ff1cb716bad36b3ca8 (patch)
tree8ab647ca570b773b989341924c885eaff9950f2f /include/linux/pci-ecam.h
parent6efb943b8616ec53a5e444193dccf1af9ad627b5 (diff)
downloadlwn-ea4aae05974334e9837d86ff1cb716bad36b3ca8.tar.gz
lwn-ea4aae05974334e9837d86ff1cb716bad36b3ca8.zip
PCI: Print a debug message on PCI device release
Commit 62795041418d ("PCI: enhance physical slot debug information") added a debug print on releasing the PCI slot and another message on destroying it. There is however no debug print on releasing the PCI device structure itself and even with closely looking at the kernel log during hotplug testing, I overlooked several missing pci_dev_put() calls for way too long. Add a debug print in pci_release_dev() making it much easier to spot when the PCI device structure is not released when it is supposed to be. Link: https://lore.kernel.org/r/20210311132312.2882425-1-schnelle@linux.ibm.com Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include/linux/pci-ecam.h')
0 files changed, 0 insertions, 0 deletions