diff options
author | 2020-01-20 20:22:33 +0800 | |
---|---|---|
committer | 2020-01-20 19:31:14 -0500 | |
commit | d2815fdf9a0e6c629d062f9a7e24cb7cdbef3dee (patch) | |
tree | 9d4aa548ee39b9e7a44a80b6532fd60b48a705dd /drivers/usb/cdns3/cdns3-imx.c | |
parent | scsi: hisi_sas: replace spin_lock_irqsave/spin_unlock_restore with spin_lock/spin_unlock (diff) | |
download | wireguard-linux-d2815fdf9a0e6c629d062f9a7e24cb7cdbef3dee.tar.xz wireguard-linux-d2815fdf9a0e6c629d062f9a7e24cb7cdbef3dee.zip |
scsi: hisi_sas: Replace magic number when handle channel interrupt
We use magic number as offset and mask when handle channel interrupt, so
use macro to replace it.
Link: https://lore.kernel.org/r/1579522957-4393-4-git-send-email-john.garry@huawei.com
Signed-off-by: Luo Jiaxing <luojiaxing@huawei.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions