diff options
author | 2024-10-22 15:48:49 -0700 | |
---|---|---|
committer | 2024-11-11 13:06:02 -0600 | |
commit | 4d6dcd6c2fa3a80898651d323c150e5ebc03881d (patch) | |
tree | a08d659a8666bcab1f678c68715f60b5e0426933 /scripts/lib/kdoc/kdoc_files.py | |
parent | PCI: Make pci_destroy_dev() concurrent safe (diff) | |
download | wireguard-linux-4d6dcd6c2fa3a80898651d323c150e5ebc03881d.tar.xz wireguard-linux-4d6dcd6c2fa3a80898651d323c150e5ebc03881d.zip |
PCI: Move __pci_walk_bus() mutex to where we need it
Simplify __pci_walk_bus() by moving the pci_bus_sem mutex into
pci_walk_bus(), the only place it is needed, and removing the parameter
that told __pci_walk_bus() whether to acquire the mutex.
Link: https://lore.kernel.org/r/20241022224851.340648-4-kbusch@meta.com
Signed-off-by: Keith Busch <kbusch@kernel.org>
[bhelgaas: commit log]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Davidlohr Bueso <dave@stgolabs.net>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions