Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1462709 > unrolled thread

[PATCH] staging: rts5208: Change data type to unsigned int.

Started byLouie Lu <louie.lu@hopebaytech.com>
First post2016-08-15 13:00 +0200
Last post2016-08-15 13:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] staging: rts5208: Change data type to unsigned int. Louie Lu <louie.lu@hopebaytech.com> - 2016-08-15 13:00 +0200

#1462709 — [PATCH] staging: rts5208: Change data type to unsigned int.

FromLouie Lu <louie.lu@hopebaytech.com>
Date2016-08-15 13:00 +0200
Subject[PATCH] staging: rts5208: Change data type to unsigned int.
Message-ID<s6nMB-4vM-9@gated-at.bofh.it>
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>
---
 drivers/staging/rts5208/rtsx_scsi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rts5208/rtsx_scsi.c b/drivers/staging/rts5208/rtsx_scsi.c
index d203104..b300387 100644
--- a/drivers/staging/rts5208/rtsx_scsi.c
+++ b/drivers/staging/rts5208/rtsx_scsi.c
@@ -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 */
-- 
2.8.2

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web