]> git.baikalelectronics.ru Git - kernel.git/commitdiff
scsi: megasas: Clean up some inconsistent indenting
authorYang Li <yang.lee@linux.alibaba.com>
Fri, 25 Feb 2022 01:16:05 +0000 (09:16 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 15 Mar 2022 04:06:45 +0000 (00:06 -0400)
Eliminate the following smatch warning:
drivers/scsi/megaraid/megaraid_sas_fusion.c:5104 megasas_reset_fusion()
warn: inconsistent indenting

Link: https://lore.kernel.org/r/20220225011605.130927-1-yang.lee@linux.alibaba.com
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/megaraid/megaraid_sas_fusion.c

index c72364864bf4affda40af9705bf1b5e1183477bf..54fde26619520f5f36ac856b25e3ea2a4f73b469 100644 (file)
@@ -5100,8 +5100,8 @@ int megasas_reset_fusion(struct Scsi_Host *shost, int reason)
                        if (instance->adapter_type >= VENTURA_SERIES) {
                                for (j = 0; j < MAX_LOGICAL_DRIVES_EXT; ++j) {
                                        memset(fusion->stream_detect_by_ld[j],
-                                       0, sizeof(struct LD_STREAM_DETECT));
-                                fusion->stream_detect_by_ld[j]->mru_bit_map
+                                              0, sizeof(struct LD_STREAM_DETECT));
+                                       fusion->stream_detect_by_ld[j]->mru_bit_map
                                                = MR_STREAM_BITMAP;
                                }
                        }