Skip to contentSkip to conversation

staging: rts5208: Change data type to unsigned int.

PATCH New Louie Lu 1 participant 1 message Aug 15, 2016 Staging

lore
Share & tools
lore

Louie Lu

author
#0 lore raw

PATCH 1/1 staging: rts5208: Change data type to unsigned int.

This patch fixes a minor checkpatch warning:

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

---
 drivers/staging/rts5208/rtsx_scsi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rts5208/rtsx_scsi.c +1 -1
index d203104..b300387 100644
@@ -1521,7 +1521,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 */
Signature · 1 line
2.8.2