aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/rts5208
diff options
context:
space:
mode:
authorGravatar Louie Lu <louie.lu@hopebaytech.com> 2016-08-15 18:44:41 +0800
committerGravatar Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2016-08-21 18:37:36 +0200
commit10adcce696da141739ab93768169b3783ab0bab3 (patch)
treef7709989e2b2bce85ed8bf547394c09c7c4875de /drivers/staging/rts5208
parentstaging: rts5208/ms.c: add missing releases in mg_get_local_EKB and mg_get_ICV (diff)
downloadlinux-10adcce696da141739ab93768169b3783ab0bab3.tar.gz
linux-10adcce696da141739ab93768169b3783ab0bab3.tar.bz2
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 */