From 7109a3aaa564f3b98751f9a68a33c714f922a796 Mon Sep 17 00:00:00 2001 From: Yupeng Zhou Date: Fri, 31 May 2019 18:33:10 +0800 Subject: [PATCH] hisi_sas: optimize the code convention. driver inclusion category: bugfix bugzilla: NA CVE: NA optimize the code convention, no need to '|' the 0xffffffff with other bit. Signed-off-by: Yupeng Zhou Reviewed-by: luojian Reviewed-by: chenxiang Reviewed-by: Yang Yingliang Signed-off-by: Yang Yingliang --- drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c b/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c index 7b8c303e43f2..ed5b31f04080 100644 --- a/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c +++ b/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c @@ -2051,7 +2051,7 @@ static void fatal_ecc_int_v3_hw(struct hisi_hba *hisi_hba) u32 irq_value, irq_msk; irq_msk = hisi_sas_read32(hisi_hba, SAS_ECC_INTR_MSK); - hisi_sas_write32(hisi_hba, SAS_ECC_INTR_MSK, irq_msk | 0xffffffff); + hisi_sas_write32(hisi_hba, SAS_ECC_INTR_MSK, 0xffffffff); irq_value = hisi_sas_read32(hisi_hba, SAS_ECC_INTR); if (irq_value) -- GitLab