From: Matthias Beyer Date: Wed, 23 Jul 2014 11:30:59 +0000 (+0200) Subject: Staging: bcm: nvm.c: Fixed variable type X-Git-Tag: Ubuntu-5.2.0-15.16~13065^2~317 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=897a88d9467a35d4091a3f3f4fc56df9ee74a79d;p=mirror_ubuntu-eoan-kernel.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;