[PATCH] staging: rtl8192u: Fix sparse warnings in r8192U_dm.c

2017-03-04 Thread Matthieu Simon
: Matthieu Simon --- drivers/staging/rtl8192u/r8192U_dm.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U_dm.c b/drivers/staging/rtl8192u/r8192U_dm.c index 9209aad0515e..5a07e7e71549 100644 --- a/drivers/staging/rtl8192u/r8192U_dm.c +++ b/drivers

[PATCH] staging: sm750fb: Replace POKE32 and PEEK32 by inline functions

2017-02-07 Thread Matthieu Simon
POKE32 and PEEK32 have been replaced by inlined functions poke32 and peek32. Having inline functions instead of macros help to get the correct type-checking and avoid the possible precedence issues reported by checkpatch. Signed-off-by: Matthieu Simon --- drivers/staging/sm750fb/ddk750_chip.c

[PATCH] staging: sm750fb: Enclose macro arguments in parentheses

2017-02-07 Thread Matthieu Simon
checkpatch noticed possible precedence issues resulting in the definition of PEEK32 and POKE32. So, these arguments should be enclosed in parentheses. Signed-off-by: Matthieu Simon --- drivers/staging/sm750fb/ddk750_chip.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a