Staging: bcm: nvm.c: Fixed variable type
authorMatthias Beyer <mail@beyermatthias.de>
Wed, 23 Jul 2014 11:30:59 +0000 (13:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Jul 2014 01:34:27 +0000 (18:34 -0700)
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>
drivers/staging/bcm/nvm.c

index 0d197c0..ccf8745 100644 (file)
@@ -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;