Skip to contentSkip to conversation

scsi: megaraid_sas: Clean up some inconsistent indenting

PATCH Applied Jiapeng Chong 2 participants 2 messages Jun 30, 2022 – Jul 14, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scsi: megaraid_sas: Clean up some inconsistent indenting

This was found by coccicheck:

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

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

This was found by coccicheck:

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

Applied to 5.20/scsi-queue, thanks!

[1/1] scsi: megaraid_sas: Clean up some inconsistent indenting

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