commit | 302e09016bc48b14590598b375280a9bf1f92b20 | [log] [tgz] |
---|---|---|
author | Xiaofei Tan <tanxiaofei@huawei.com> | Tue Oct 24 23:51:33 2017 +0800 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Wed Oct 25 08:21:04 2017 -0400 |
tree | 68d05933db2a7e4efc266132a3c7814f96693e51 | |
parent | f692a677e2cb0ccab4ef91be97d8fb020cca246d [diff] |
scsi: hisi_sas: use spin_lock_irqsave() for hisi_hba.lock We used spin_lock() to grab hisi_hba.lock in two places where spin_lock_irqsave() should be used, as hisi_hba.lock can be taken in interrupt context. This patch is to fix this. Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com> Signed-off-by: John Garry <john.garry@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>