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

staging: slicoss: fix bare use of 'unsigned'

fix checkpatch.pl warning about 'Prefer 'unsigned int' to bare use of
'unsigned''

Signed-off-by: Clifton Barnes <clifton.a.barnes@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Clifton Barnes and committed by
Greg Kroah-Hartman
f2fe1bc9 e0ab2c8e

+1 -1
+1 -1
drivers/staging/slicoss/slicoss.c
··· 1144 1144 /* 1145 1145 * Compute a checksum of the EEPROM according to RFC 1071. 1146 1146 */ 1147 - static u16 slic_eeprom_cksum(void *eeprom, unsigned len) 1147 + static u16 slic_eeprom_cksum(void *eeprom, unsigned int len) 1148 1148 { 1149 1149 u16 *wp = eeprom; 1150 1150 u32 checksum = 0;