Skip to content

Commit b06d125

Browse files
Mani-Sadhasivambjorn-helgaas
authored andcommitted
PCI/ERR: Remove misleading TODO regarding kernel panic
A PCI device is just another peripheral in a system. So failure to recover it, must not result in a kernel panic. So remove the TODO which is quite misleading. Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Wilfred Mallawa <wilfred.mallawa@wdc.com> Link: https://patch.msgid.link/20250508-pcie-reset-slot-v4-1-7050093e2b50@linaro.org
1 parent b4fe739 commit b06d125

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/pci/pcie/err.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,6 @@ pci_ers_result_t pcie_do_recovery(struct pci_dev *dev,
271271

272272
pci_uevent_ers(bridge, PCI_ERS_RESULT_DISCONNECT);
273273

274-
/* TODO: Should kernel panic here? */
275274
pci_info(bridge, "device recovery failed\n");
276275

277276
return status;

0 commit comments

Comments
 (0)