Home
last modified time | relevance | path

Searched hist:"42159 d3c" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/scsi/libsas/
H A Dsas_event.c42159d3c Mon Dec 20 05:21:27 CST 2021 Xiang Chen <chenxiang66@hisilicon.com> scsi: libsas: Add spin_lock/unlock() to protect asd_sas_port->phy_list

Most places that use asd_sas_port->phy_list in libsas are protected by
spinlock asd_sas_port->phy_list_lock. However, there are still a few places
which miss the lock. Add it in those places.

Link: https://lore.kernel.org/r/1639999298-244569-5-git-send-email-chenxiang66@hisilicon.com
Reviewed-by: John Garry <john.garry@huawei.com>
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>