瀏覽代碼

Staging: bcm: nvm.c: Fixed variable type

The variable type of the local variable 'j' should be 'int' instead of
'unsigned int'.

Suggested-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Matthias Beyer 11 年之前
父節點
當前提交
897a88d946
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/staging/bcm/nvm.c

+ 1 - 1
drivers/staging/bcm/nvm.c

@@ -1040,7 +1040,7 @@ static int bulk_read_complete_sector(struct bcm_mini_adapter *ad,
 				     unsigned int partoff,
 				     unsigned int i)
 {
-	unsigned int j;
+	int j;
 	int bulk_read_stat;
 	FP_FLASH_WRITE_STATUS writef =
 		ad->fpFlashWriteWithStatusCheck;