Skip to contentSkip to conversation

scsi: fnic: clean up some inconsistent indenting

PATCH Applied Jiapeng Chong 3 participants 4 messages Jan 18, 2024 – Jan 30, 2024

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

PATCH 1/1 scsi: fnic: clean up some inconsistent indenting

No functional modification involved.

drivers/scsi/fnic/fnic_scsi.c:1964 fnic_abort_cmd() warn: inconsistent indenting.

---
 drivers/scsi/fnic/fnic_scsi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/scsi/fnic/fnic_scsi.c +2 -2
index 8d7fc5284293..5b4768e669f0 100644
@@ -1961,8 +1961,8 @@ int fnic_abort_cmd(struct scsi_cmnd *sc)
 
 	if (!(fnic_priv(sc)->flags & (FNIC_IO_ABORTED | FNIC_IO_DONE))) {
 		spin_unlock_irqrestore(&fnic->wq_copy_lock[hwq], flags);
-	    FNIC_SCSI_DBG(KERN_ERR, fnic->lport->host, fnic->fnic_num,
-			"Issuing host reset due to out of order IO\n");
+		FNIC_SCSI_DBG(KERN_ERR, fnic->lport->host, fnic->fnic_num,
+			      "Issuing host reset due to out of order IO\n");
 
 		ret = FAILED;
 		goto fnic_abort_cmd_end;
Signature · 1 line
2.20.1.7.g153144c
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 27 lines · Jiapeng Chong

No functional modification involved.

drivers/scsi/fnic/fnic_scsi.c:1964 fnic_abort_cmd() warn: inconsistent indenting.

---
drivers/scsi/fnic/fnic_scsi.c | 4 ++--

1 file changed, 2 insertions(+), 2 deletions(-)
drivers/scsi/fnic/fnic_scsi.c +2 -3
@@ -1961,8 +1961,8 @@ int fnic_abort_cmd(struct scsi_cmnd *sc)
 
 if (!(fnic_priv(sc)->flags & (FNIC_IO_ABORTED | FNIC_IO_DONE))) {
              spin_unlock_irqrestore(&fnic->wq_copy_lock[hwq], flags);
-         FNIC_SCSI_DBG(KERN_ERR, fnic->lport->host, fnic->fnic_num,
-                     "Issuing host reset due to out of order IO\n");
+             FNIC_SCSI_DBG(KERN_ERR, fnic->lport->host, fnic->fnic_num,
+                           "Issuing host reset due to out of order IO\n");
 
 ret = FAILED;
 goto fnic_abort_cmd_end;
--
Quoted 2 lines

2.20.1.7.g153144c

Looks good to me.

Regards,
Karan

#2 lore raw
In reply to Jiapeng Chong

Jiapeng,

Quoted 3 lines

No functional modification involved.

drivers/scsi/fnic/fnic_scsi.c:1964 fnic_abort_cmd() warn: inconsistent indenting.

Applied to 6.9/scsi-staging, thanks!

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering