drivers/staging/ks7010/ks_wlan_net.c:1287: suspicious if ?

2016-08-01 Thread David Binderman
Hello there, drivers/staging/ks7010/ks_wlan_net.c:1287:13: warning: duplicated ‘if’ condition [-Wduplicated-cond] Source code is } else if (enabled) { /* 1 */ if (priv->reg.operation_mode == MODE_INFRASTRUCTURE) priv->reg.powermgt = POWMGT_SAVE1_MODE; else

[PATCH] Staging:android: fix alignment match open paranthesis

2016-08-01 Thread ksourav
This is a patch to fix alignment should match open paranthesis warning given by checkpatch.pl in files sw_sync.c and sync_debug.c Signed-off-by: ksourav --- drivers/staging/android/sw_sync.c| 6 +++--- drivers/staging/android/sync_debug.c | 6 +++--- 2 files changed, 6 insertions(+), 6 delet

[PATCH] drivers: wilc1000: remove references to semaphores

2016-08-01 Thread Joshua Houghton
* Update the comments that refer to semaphores * Remove redundant includes to semphore.h Signed-off-by: Joshua Houghton --- drivers/staging/wilc1000/TODO | 1 - drivers/staging/wilc1000/linux_wlan.c | 1 - drivers/staging/wilc1000/wilc_wfi_netdevice.h | 2 +- drivers/stag

[PATCH] staging: fbtft: This patch fixes the checkpatch.pl warning

2016-08-01 Thread Prit Raj
WARNING: Statements should start on a tabstop Signed-off-by: Prit Raj --- drivers/staging/fbtft/fb_agm1264k-fl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/fbtft/fb_agm1264k-fl.c b/drivers/staging/fbtft/fb_agm1264k-fl.c index 82b46cd..7561385 100644