[PATCH v2] staging: pi433: Use matching enum types calling rf69_set_packet_format

2017-07-31 Thread Elia Geretto
:268:9: int enum packetFormat This is done calling the rf69_set_packet_format function using the appropriate enum for the packetFormat argument. Signed-off-by: Elia Geretto --- Changes in v2: - Declare ret at the top of the function. - Avoid moving the location of the check in

[PATCH] staging: pi433: Use matching enum types calling rf69_set_packet_format

2017-07-29 Thread Elia Geretto
:268:9: int enum packetFormat This is done calling the rf69_set_packet_format function using the appropriate enum for the packetFormat argument. Signed-off-by: Elia Geretto --- drivers/staging/pi433/pi433_if.c | 24 ++-- 1 file changed, 22 insertions(+), 2 deletions

Re: [PATCH] Staging: pi433: fix some warnings detected using sparse

2017-07-29 Thread Elia Geretto
On Fri, 2017-07-28 at 17:17 +0300, Dan Carpenter wrote: > On Fri, Jul 28, 2017 at 02:56:26PM +0200, Elia Geretto wrote: > > This patch corrects some visibility issues regarding some functions > > and > > solves a warning related to a non-matching union. After this patch, >

[PATCH] Staging: pi433: fix some warnings detected using sparse

2017-07-28 Thread Elia Geretto
This patch corrects some visibility issues regarding some functions and solves a warning related to a non-matching union. After this patch, sparse produces only one other warning regarding a bitwise operator; however, this behaviour seems to be intended. Signed-off-by: Elia Geretto --- drivers

[PATCH] Staging: rtl8192u: clean up some white space issues

2017-03-07 Thread Elia Geretto
This patch fixes two coding style errors, reported by the checkpatch script. Signed-off-by: Elia Geretto --- drivers/staging/rtl8192u/r8192U_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U_core.c b/drivers/staging/rtl8192u

[PATCH 1/1] Fix coding style errors

2017-03-06 Thread Elia Geretto
This patch fixes two conding style errors, reported by the checkpatch script. Signed-off-by: Elia Geretto --- drivers/staging/rtl8192u/r8192U_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U_core.c b/drivers/staging/rtl8192u