From: Matthias Beyer Date: Wed, 23 Jul 2014 11:30:59 +0000 (+0200) Subject: Staging: bcm: nvm.c: Fixed variable type X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=897a88d9467a35d4091a3f3f4fc56df9ee74a79d;p=deliverable%2Flinux.git 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 --- 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;