]> git.ipfire.org Git - thirdparty/linux.git/commit
PCI/DPC: Hold pci_dev reference during error recovery
authorSizhe Liu <liusizhe5@huawei.com>
Wed, 11 Mar 2026 19:52:11 +0000 (14:52 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 16 Mar 2026 21:01:51 +0000 (16:01 -0500)
commita1ed752bc7cb77b740cee671567d9508ae74becd
treeaa8a3e3e70e2e5401a44b8f4c05ebc2329a7e800
parent6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
PCI/DPC: Hold pci_dev reference during error recovery

The AER and EDR error handling paths hold a reference on the pci_dev during
recovery.  Hold a reference during the DPC recovery path as well.

Signed-off-by: Sizhe Liu <liusizhe5@huawei.com>
[bhelgaas: split to separate patch]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
https://patch.msgid.link/20260214081130.1878424-1-liusizhe5@huawei.com
drivers/pci/pcie/dpc.c