summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorKeith Busch <kbusch@kernel.org>2026-01-30 19:59:51 +0300
committerBjorn Helgaas <bhelgaas@google.com>2026-02-07 01:53:27 +0300
commit1f5e57c622b4dc9b8e7d291d560138d92cfbe5bf (patch)
tree7076eae7af9a31dbbabd59fdec94f5b9047fc3ec /include/uapi
parent9368d1ee62829b08aa31836b3ca003803caf0b72 (diff)
downloadlinux-1f5e57c622b4dc9b8e7d291d560138d92cfbe5bf.tar.xz
PCI: Fix pci_slot_lock () device locking
Like pci_bus_lock(), pci_slot_lock() needs to lock the bridge device to prevent warnings like: pcieport 0000:e2:05.0: unlocked secondary bus reset via: pciehp_reset_slot+0x55/0xa0 Take and release the lock for the bridge providing the slot for the lock/trylock and unlock routines. Signed-off-by: Keith Busch <kbusch@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Dan Williams <dan.j.williams@intel.com> Link: https://patch.msgid.link/20260130165953.751063-3-kbusch@meta.com
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions