diff options
author | Ganesh Goudar <[email protected]> | 2024-06-17 19:32:40 +0530 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2024-06-23 11:54:27 +1000 |
commit | a1216e62d039bf63a539bbe718536ec789a853dd (patch) | |
tree | 76fb7340c50bd94259617d27ad3946572426d247 /drivers/fpga/xilinx-core.c | |
parent | 1a14150e1656f7a332a943154fc486504db4d586 (diff) |
powerpc/eeh: avoid possible crash when edev->pdev changes
If a PCI device is removed during eeh_pe_report_edev(), edev->pdev
will change and can cause a crash, hold the PCI rescan/remove lock
while taking a copy of edev->pdev->bus.
Signed-off-by: Ganesh Goudar <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'drivers/fpga/xilinx-core.c')
0 files changed, 0 insertions, 0 deletions