]> git.baikalelectronics.ru Git - kernel.git/commitdiff
scsi: megaraid_sas: Clean up some inconsistent indenting
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Thu, 30 Jun 2022 07:41:52 +0000 (15:41 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 7 Jul 2022 21:02:35 +0000 (17:02 -0400)
This was found by coccicheck:

drivers/scsi/megaraid/megaraid_sas_base.c:3950 process_fw_state_change_wq() warn: inconsistent indenting.

Link: https://lore.kernel.org/r/20220630074152.29171-1-jiapeng.chong@linux.alibaba.com
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/megaraid/megaraid_sas_base.c

index c95360a3c186f24cb11a2843ae4ed908dde71496..fb28c8178828d6711df94ee9e2b4feff668a09e7 100644 (file)
@@ -3947,9 +3947,9 @@ process_fw_state_change_wq(struct work_struct *work)
        u32 wait;
        unsigned long flags;
 
-    if (atomic_read(&instance->adprecovery) != MEGASAS_ADPRESET_SM_INFAULT) {
+       if (atomic_read(&instance->adprecovery) != MEGASAS_ADPRESET_SM_INFAULT) {
                dev_notice(&instance->pdev->dev, "error, recovery st %x\n",
-                               atomic_read(&instance->adprecovery));
+                          atomic_read(&instance->adprecovery));
                return ;
        }