Skip to contentSkip to conversation

scsi: megasas: clean up some inconsistent indenting

PATCH Applied Yang Li 2 participants 2 messages Feb 25, 2022 – Mar 19, 2022

Subsystems (2)
lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH v2 1/1 scsi: megasas: clean up some inconsistent indenting

Eliminate the follow smatch warning:
drivers/scsi/megaraid/megaraid_sas_fusion.c:5104 megasas_reset_fusion()
warn: inconsistent indenting

---
 drivers/scsi/megaraid/megaraid_sas_fusion.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/scsi/megaraid/megaraid_sas_fusion.c +2 -2
index c72364864bf4..ae3ad7ebf346 100644
@@ -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;
 				}
 			}
Signature · 1 line
2.20.1.7.g153144c
#1 lore raw
Quoted 5 lines · Yang Li

Eliminate the follow smatch warning:
drivers/scsi/megaraid/megaraid_sas_fusion.c:5104 megasas_reset_fusion()
warn: inconsistent indenting

Applied to 5.18/scsi-queue, thanks!

[1/1] scsi: megasas: clean up some inconsistent indenting

      https://git.kernel.org/mkp/scsi/c/7db304bd2a4f
Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering