summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorKeith Busch <kbusch@kernel.org>2026-01-30 08:59:51 -0800
committerSasha Levin <sashal@kernel.org>2026-03-04 07:20:49 -0500
commita2376e912723c8dbd732d4ca699cdcdbdf5f8c12 (patch)
tree80b4356c9a50df220b3c23106d4655e65b22d0bf /include/linux/debugobjects.h
parentf5ea62163a78f6b220460c09f56c05375370dfb2 (diff)
PCI: Fix pci_slot_lock () device locking
[ Upstream commit 1f5e57c622b4dc9b8e7d291d560138d92cfbe5bf ] 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 Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions