]> asedeno.scripts.mit.edu Git - linux.git/commit
PCI/AER: Log which device prevents error recovery
authorYicong Yang <yangyicong@hisilicon.com>
Fri, 13 Dec 2019 11:44:34 +0000 (19:44 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 23 Jan 2020 22:39:02 +0000 (16:39 -0600)
commit01daacfb9035e5b86d43a01f11a0614648f306c1
tree6d4e321ae68d867098007844a58f5b79340a25d8
parente42617b825f8073569da76dc4510bfa019b1c35a
PCI/AER: Log which device prevents error recovery

PCI error recovery will fail if any device under the Root Port doesn't have
an error_detected callback.  Currently only the failure result is printed,
which is not enough to identify the driver that lacks the callback.

Log a message to identify the device with no error_detected callback.

[bhelgaas: tweak log message]
Link: https://lore.kernel.org/r/1576237474-32021-1-git-send-email-yangyicong@hisilicon.com
Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pcie/err.c