Skip to contentSkip to conversation

staging: i2o_scsi: Fix label indentation

PATCH In review Ioana Ciornei 2 participants 2 messages Mar 9, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: i2o_scsi: Fix label indentation

This patch fixes the checkpatch.pl warning:

WARNING: labels should not be indented

---
 drivers/staging/i2o/i2o_scsi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/i2o/i2o_scsi.c +2 -2
index 1b11dcb..2ecd706 100644
@@ -680,11 +680,11 @@ static int i2o_scsi_queuecommand_lck(struct scsi_cmnd *SCpnt,
 
 	return 0;
 
-      nomem:
+nomem:
 	rc = -ENOMEM;
 	i2o_msg_nop(c, msg);
 
-      exit:
+exit:
 	return rc;
 }
 
Signature · 1 line
1.9.1
#1 lore raw
Quoted 16 lines · Ioana Ciornei

This patch fixes the checkpatch.pl warning:

WARNING: labels should not be indented

---
 drivers/staging/i2o/i2o_scsi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/i2o/i2o_scsi.c +0 -0
index 1b11dcb..2ecd706 100644
@@ -680,11 +680,11 @@ static int i2o_scsi_queuecommand_lck(struct scsi_cmnd *SCpnt,
 
        return 0;

drivers/staging/i2o/i2o_scsi.c static int i2o_scsi_queuecommand_lck(struct scsi_cmnd *SCpnt, · line 689

Quoted 10 lines
drivers/staging/i2o/i2o_scsi.c +2 -2
 
-      nomem:
+nomem:
        rc = -ENOMEM;
        i2o_msg_nop(c, msg);
 
-      exit:
+exit:
        return rc;
 }

Hi Ioana,

We should avoid making patches for i2o directory since it is scheduled for removal.

Also check [1] for a list of directories that should be avoided.

thanks,
Daniel.

[1]http://kernelnewbies.org/FirstKernelPatch#head-4fba782a39cd1f78e2ce58b08ed1cb83bf178896