Staging: rts5208: rtsx_transport.c: Fix label naming convention
authorShaun Ren <shaun.ren@linux.com>
Mon, 15 Feb 2016 18:58:52 +0000 (10:58 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Feb 2016 23:35:42 +0000 (15:35 -0800)
This patch fixes the following naming convention issue in rtsx_transport.c,
as reported by checkpatch.pl:

CHECK: Avoid CamelCase: <Handle_Errors>

Signed-off-by: Shaun Ren <shaun.ren@linux.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/rtsx_transport.c

index 00401e2a42d3f93bcdcea564cb9bdb29efe4f9b9..aadef51b35dff62790008d7aa873bb26f2e399c5 100644 (file)
@@ -173,14 +173,14 @@ void rtsx_invoke_transport(struct scsi_cmnd *srb, struct rtsx_chip *chip)
        if (rtsx_chk_stat(chip, RTSX_STAT_ABORT)) {
                dev_dbg(rtsx_dev(chip), "-- command was aborted\n");
                srb->result = DID_ABORT << 16;
-               goto Handle_Errors;
+               goto handle_errors;
        }
 
        /* if there is a transport error, reset and don't auto-sense */
        if (result == TRANSPORT_ERROR) {
                dev_dbg(rtsx_dev(chip), "-- transport indicates error, resetting\n");
                srb->result = DID_ERROR << 16;
-               goto Handle_Errors;
+               goto handle_errors;
        }
 
        srb->result = SAM_STAT_GOOD;
@@ -200,7 +200,7 @@ void rtsx_invoke_transport(struct scsi_cmnd *srb, struct rtsx_chip *chip)
 
        return;
 
-Handle_Errors:
+handle_errors:
        return;
 }