diff options
author | Niklas Schnelle <schnelle@linux.ibm.com> | 2025-08-26 10:52:09 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2025-09-26 16:01:17 -0500 |
commit | 60e7b5aa85712f7f2fc75b2e9d28444de88ab47f (patch) | |
tree | 807b7d3a7d97d934af13f69b77f0c8370f6c0483 /scripts/generate_rust_analyzer.py | |
parent | 05703271c3cdcc0f2a8cf6ebdc45892b8ca83520 (diff) |
PCI: Add lockdep assertion in pci_stop_and_remove_bus_device()
Removing a PCI devices requires holding pci_rescan_remove_lock. Prompted by
this being missed in sriov_disable() and going unnoticed since its
inception, add a lockdep assert so this doesn't get missed again in the
future.
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Benjamin Block <bblock@linux.ibm.com>
Reviewed-by: Julian Ruess <julianr@linux.ibm.com>
Link: https://patch.msgid.link/20250826-pci_fix_sriov_disable-v1-2-2d0bc938f2a3@linux.ibm.com
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions