Skip to contentSkip to conversation

Staging: rts5208: Fix checkpatch camel-case warning in goto statement

PATCH New Kim Bradley 1 participant 1 message Oct 25, 2018 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: rts5208: Fix checkpatch camel-case warning in goto statement

Fix use of camel-case in goto statement and all subsequent uses to remove checkpatch warning.

---
 drivers/staging/rts5208/ms.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/staging/rts5208/ms.c +4 -4
index a0fcbb83ee8a..9f846e53abec 100644
@@ -4151,7 +4151,7 @@ int mg_set_ICV(struct scsi_cmnd *srb, struct rtsx_chip *chip)
 		} else {
 			set_sense_type(chip, lun, SENSE_TYPE_MG_WRITE_ERR);
 		}
-		goto SetICVFinish;
+		goto set_ICV_finish;
 	}
 
 #ifdef MG_SET_ICV_SLOW
@@ -4192,7 +4192,7 @@ int mg_set_ICV(struct scsi_cmnd *srb, struct rtsx_chip *chip)
 					       SENSE_TYPE_MG_WRITE_ERR);
 			}
 			retval = STATUS_FAIL;
-			goto SetICVFinish;
+			goto set_ICV_finish;
 		}
 	}
 #else
@@ -4211,11 +4211,11 @@ int mg_set_ICV(struct scsi_cmnd *srb, struct rtsx_chip *chip)
 		} else {
 			set_sense_type(chip, lun, SENSE_TYPE_MG_WRITE_ERR);
 		}
-		goto SetICVFinish;
+		goto set_ICV_finish;
 	}
 #endif
 
-SetICVFinish:
+set_ICV_finish:
 	kfree(buf);
 	return retval;
 }
Signature · 1 line
2.19.1