Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Matthias Beyer and committed by
Greg Kroah-Hartman
897a88d9 c837c549

+1 -1
+1 -1
drivers/staging/bcm/nvm.c
··· 1040 1040 unsigned int partoff, 1041 1041 unsigned int i) 1042 1042 { 1043 - unsigned int j; 1043 + int j; 1044 1044 int bulk_read_stat; 1045 1045 FP_FLASH_WRITE_STATUS writef = 1046 1046 ad->fpFlashWriteWithStatusCheck;