diff options
| author | 2026-01-16 14:57:40 +0200 | |
|---|---|---|
| committer | 2026-02-06 16:53:35 -0600 | |
| commit | 183c291caa34cc1e721a571058a3f972c5b35122 (patch) | |
| tree | 0823ece15aa7544e6d34cbd5fc4aadf6f5bacba1 /samples/kobject/ssh:/git@git.zx2c4.com/git: | |
| parent | PCI: Fix pci_slot_lock () device locking (diff) | |
PCI: Use lockdep_assert_held(pci_bus_sem) to verify lock is held
The function comment for pci_bus_max_d3cold_delay() declares pci_bus_sem
must be held while calling the function which can be automatically checked.
Add lockdep_assert_held(pci_bus_sem) to confirm pci_bus_sem is held.
Also mark the comment line with Context prefix.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20260116125742.1890-2-ilpo.jarvinen@linux.intel.com
Diffstat (limited to 'samples/kobject/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
