projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0ab2c8
)
staging: slicoss: fix bare use of 'unsigned'
author
Clifton Barnes
<
[email protected]
>
Tue, 5 Apr 2016 21:37:37 +0000
(17:37 -0400)
committer
Greg Kroah-Hartman
<
[email protected]
>
Sat, 30 Apr 2016 00:58:02 +0000
(17:58 -0700)
fix checkpatch.pl warning about 'Prefer 'unsigned int' to bare use of
'unsigned''
Signed-off-by: Clifton Barnes <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/slicoss/slicoss.c
patch
|
blob
|
history
diff --git
a/drivers/staging/slicoss/slicoss.c
b/drivers/staging/slicoss/slicoss.c
index fa61e8e9964b6616510f428e42b26b1a46ec7945..cb1ad76984ebeb6bda94cf0834f5fdc01657d688 100644
(file)
--- a/
drivers/staging/slicoss/slicoss.c
+++ b/
drivers/staging/slicoss/slicoss.c
@@
-1144,7
+1144,7
@@
static int slic_config_get(struct adapter *adapter, u32 config, u32 config_h)
/*
* Compute a checksum of the EEPROM according to RFC 1071.
*/
-static u16 slic_eeprom_cksum(void *eeprom, unsigned len)
+static u16 slic_eeprom_cksum(void *eeprom, unsigned
int
len)
{
u16 *wp = eeprom;
u32 checksum = 0;