[PATCH v2 0/2] s390/pci: Fix missing pci_dev_put() in zpci_report_status()
Niklas Schnelle <[email protected]>
| Newsgroups | org.kernel.vger.linux-s390,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <20260819-fix_zpci_report_status_pdev_leak-v2-0-da0c4aa7c0ca@linux.ibm.com> |
Hi All, This series fixes two issues found in zpci_report_status() by LLM review. A missing pci_dev_put() which could prevent proper removal on hot unplug and a too short device lock critical section. Thanks, Niklas Signed-off-by: Niklas Schnelle <[email protected]> --- Changes in v2: - Added a second fix to address Sashiko's finding of having to hold the device lock during the call to zpci_report_status() - Add R-bs from Matthew and Farhan - Link to v1: https://lore.kernel.org/r/20260818-fix_zpci_report_status_pdev_leak-v1-1-576520f4d068@linux.ibm.com --- Niklas Schnelle (2): s390/pci: Fix missing pci_dev_put() in zpci_report_status() s390/pci: Extend device lock to cover zpci_report_status() arch/s390/pci/pci_event.c | 2 +- arch/s390/pci/pci_report.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) --- base-commit: 8d3ae59288f1e7d58d76558a6ee96d533bc5019f change-id: 20260817-fix_zpci_report_status_pdev_leak-1b101c1fe021 Best regards, -- Niklas Schnelle