The variable type of the local variable 'j' should be 'int' instead of 'unsigned int'. Suggested-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Signed-off-by: Matthias Beyer <mail@xxxxxxxxxxxxxxxx> --- 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 0d197c0..ccf8745 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.0.2 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel