Re: [PATCH] PCI: Fix missing update in pci_slot_unlock() after locking changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 5/4/2025 8:53 PM, Lukas Wunner wrote:

On Sun, May 04, 2025 at 07:31:32PM +0300, Moshe Shemesh wrote:
The cited patch updated pci_slot_lock(), pci_slot_trylock(),
pci_bus_lock(), and pci_bus_trylock() recursive locking, and adjusted
pci_bus_unlock() accordingly. However, it missed updating
pci_slot_unlock(), which may lead to attempting to unlock the
subordinate bridge's device lock twice.

Fixes: a4e772898f8b ("PCI: Add missing bridge lock to pci_bus_lock()")
Signed-off-by: Moshe Shemesh <moshe@xxxxxxxxxx>

Ilpo already submitted an identical patch on April 30:

https://lore.kernel.org/r/20250430083526.4276-1-ilpo.jarvinen@xxxxxxxxxxxxxxx/

I missed it, thanks.




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux