From 897a88d9467a35d4091a3f3f4fc56df9ee74a79d Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Wed, 23 Jul 2014 13:30:59 +0200 Subject: [PATCH] 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 Signed-off-by: Matthias Beyer Signed-off-by: Greg Kroah-Hartman --- drivers/staging/bcm/nvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/bcm/nvm.c b/drivers/staging/bcm/nvm.c index 0d197c0855db..ccf874521121 100644 --- a/drivers/staging/bcm/nvm.c +++ b/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; -- 2.39.5