[PATCH] staging: dgap: remove unused variable 'orig_count'

2014-10-01 Thread Rahul Bedarkar
This patch fixes sparse warning warning: variable ‘orig_count’ set but not used [-Wunused-but-set-variable] Signed-off-by: Rahul Bedarkar --- drivers/staging/dgap/dgap.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/staging/dgap/dgap.c b/drivers/staging/dgap/dgap.c index

[PATCH] staging: bcm: fix sparse warning in module_param

2014-10-01 Thread Rahul Bedarkar
This patch fixes sparse warning in module_param warning: pointer targets in return differ in signedness [-Wpointer-sign] Signed-off-by: Rahul Bedarkar --- drivers/staging/bcm/InterfaceInit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/bcm/InterfaceInit.c

[PATCH] staging: octeon: fix coding style

2014-07-14 Thread Rahul Bedarkar
This patch fixes checkpatch.pl warning. Add blank line after declaration. Signed-off-by: Rahul Bedarkar --- drivers/staging/octeon/ethernet-xaui.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/octeon/ethernet-xaui.c b/drivers/staging/octeon/ethernet-xaui.c index 419f8c3