aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Beyer2014-07-23 13:30:59 +0200
committerGreg Kroah-Hartman2014-07-23 18:34:27 -0700
commit897a88d9467a35d4091a3f3f4fc56df9ee74a79d (patch)
treef6c3f5a0be4490633f14a679bd0b9a2842a64adb
parentc837c549ab71475f76a7d7d1cf5b7da2ae0aa4a1 (diff)
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 <dan.carpenter@oracle.com> Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/bcm/nvm.c2
1 files changed, 1 insertions, 1 deletions
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;