summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rts5208
diff options
context:
space:
mode:
authorLouie Lu <louie.lu@hopebaytech.com>2016-08-15 18:44:41 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-08-21 18:37:36 +0200
commit10adcce696da141739ab93768169b3783ab0bab3 (patch)
treef7709989e2b2bce85ed8bf547394c09c7c4875de /drivers/staging/rts5208
parent0b25e9fa01fc9ed333d266172128ba37d44cd7be (diff)
downloadblackbird-op-linux-10adcce696da141739ab93768169b3783ab0bab3.tar.gz
blackbird-op-linux-10adcce696da141739ab93768169b3783ab0bab3.zip
staging: rts5208: Change data type to unsigned int.
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>
Diffstat (limited to 'drivers/staging/rts5208')
-rw-r--r--drivers/staging/rts5208/rtsx_scsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rts5208/rtsx_scsi.c b/drivers/staging/rts5208/rtsx_scsi.c
index 9818e5d81639..def53d9ef1a7 100644
--- a/drivers/staging/rts5208/rtsx_scsi.c
+++ b/drivers/staging/rts5208/rtsx_scsi.c
@@ -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 */
OpenPOWER on IntegriCloud