projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c837c54
)
Staging: bcm: nvm.c: Fixed variable type
author
Matthias Beyer
<mail@beyermatthias.de>
Wed, 23 Jul 2014 11:30:59 +0000
(13:30 +0200)
committer
Greg 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
patch
|
blob
|
history
diff --git
a/drivers/staging/bcm/nvm.c
b/drivers/staging/bcm/nvm.c
index 0d197c0855db7588ccb11bc790684e0dda316bc0..ccf87452112152708fe2a6a89aebb65478a554f0 100644
(file)
--- 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;