]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: rts5208: Change data type to unsigned int.
authorLouie Lu <louie.lu@hopebaytech.com>
Mon, 15 Aug 2016 10:44:41 +0000 (18:44 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Aug 2016 16:37:36 +0000 (18:37 +0200)
This patch fixes a minor checkpatch warning:

"WARNING: Prefer 'unsigned int' to bare use of 'unsigned'"

Signed-off-by: Louie Lu <louie.lu@hopebaytech.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/rtsx_scsi.c

index 9818e5d816392ffb8285d4ea0820cf7e0c5b44ca..def53d9ef1a7cd474207a253a70b1cba61d2e934 100644 (file)
@@ -1518,7 +1518,7 @@ static int write_host_reg(struct scsi_cmnd *srb, struct rtsx_chip *chip)
 
 static int set_variable(struct scsi_cmnd *srb, struct rtsx_chip *chip)
 {
-       unsigned lun = SCSI_LUN(srb);
+       unsigned int lun = SCSI_LUN(srb);
 
        if (srb->cmnd[3] == 1) {
                /* Variable Clock */