Re: [PATCH] PCI: fix recusive device locking

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

 



[ add linux-pci ]

Keith Busch wrote:
> From: Keith Busch <kbusch@xxxxxxxxxx>
> 
> If one of the bus' devices has subordinates, the recursive call locks
> itself, so no need to lock the device before the recusion or it will
> surely deadlock.
> 
> Fixes: dbc5b5c0d268f87 ("PCI: Add missing bridge lock to pci_bus_lock()"
> Cc: Dan Williams <dan.j.williams@xxxxxxxxx>
> Signed-off-by: Keith Busch <kbusch@xxxxxxxxxx>

Looks good, thanks for the fixup Keith!

Reviewed-by: Dan Williams <dan.j.williams@xxxxxxxxx>




[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