update failed in drivers/pci/pcie/err.c to trigger a kernel panic instead of pci_info Thanks Signed-off-by: Atharva Tiwari <evepolonium@xxxxxxxxx> --- drivers/pci/pcie/err.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pci/pcie/err.c b/drivers/pci/pcie/err.c index 31090770fffc..2630b88564d8 100644 --- a/drivers/pci/pcie/err.c +++ b/drivers/pci/pcie/err.c @@ -271,8 +271,8 @@ pci_ers_result_t pcie_do_recovery(struct pci_dev *dev, pci_uevent_ers(bridge, PCI_ERS_RESULT_DISCONNECT); - /* TODO: Should kernel panic here? */ - pci_info(bridge, "device recovery failed\n"); + + panic("Kernel Panic: %s: Device recovery failed\n", pci_name(bridge)); return status; } -- 2.39.5