[PATCH] staging: nvec: Fix incorrect type of i2c address

2017-02-13 Thread Franck Demathieu
From: Franck Demathieu The i2c address is unsigned according to the dt-bindings. Fix sparse issue (-Wtypesign): drivers/staging/nvec/nvec.c:781:35: warning: incorrect type in argument 3 (different signedness) drivers/staging/nvec/nvec.c:781:35:expected unsigned int [usertype

[PATCH] staging: wilc1000: remove unnecessary local array

2017-02-10 Thread Franck Demathieu
It fixes the following warning reported by sparse: drivers/staging/wilc1000/linux_wlan.c:67:33: warning: too long initializer-string for array of char(no space for nul char) Signed-off-by: Franck Demathieu --- drivers/staging/wilc1000/linux_wlan.c | 3 +-- 1 file changed, 1 insertion(+), 2

[PATCH] staging: wilc1000: remove unnecessary local array

2017-02-09 Thread Franck Demathieu
It fixes the following warning reported by sparse: drivers/staging/wilc1000/linux_wlan.c:67:33: warning: too long initializer-string for array of char(no space for nul char) Signed-off-by: Franck Demathieu --- drivers/staging/wilc1000/linux_wlan.c | 3 +-- 1 file changed, 1 insertion(+), 2

[PATCH] staging: greybus: sdio: Prefer u32 over uint32_t

2017-01-25 Thread Franck Demathieu
It fixes the following issue reported by checkpatch.pl: Prefer kernel type 'u32' over 'uint32_t' Signed-off-by: Franck Demathieu --- drivers/staging/greybus/sdio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/greybus/sdio.c b/drivers/st