[PATCH] drivers:staging:ozwpan Replaced wrapper functions with actual spin lock function

2014-03-03 Thread Surendra Patil
nd added comments to it. Module builded successfully with sparse without warnings. Signed-off-by: Surendra Patil --- drivers/staging/ozwpan/ozpd.c| 28 ++-- drivers/staging/ozwpan/ozpd.h| 5 + drivers/staging/ozwpan/ozproto.c | 15 +-- drivers

[PATCH] Drivers:staging:ozwpan Replaced wrapper functions with actual spin lock function calls

2014-03-01 Thread Surendra Patil
d-off-by: Surendra Patil --- drivers/staging/ozwpan/ozpd.c| 29 +++-- drivers/staging/ozwpan/ozproto.c | 9 - drivers/staging/ozwpan/ozproto.h | 2 -- 3 files changed, 15 insertions(+), 25 deletions(-) diff --git a/drivers/staging/ozwpan/ozpd.c b/drivers

[PATCH] Drivers:staging:ozwpan Fixed sparse context imbalance warning

2014-02-28 Thread Surendra Patil
_releases(). Signed-off-by: Surendra Patil --- drivers/staging/ozwpan/ozproto.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/ozwpan/ozproto.c b/drivers/staging/ozwpan/ozproto.c index e7138ed..b47cec1 100644 --- a/drivers/staging/ozwpan/ozproto.c +++ b/drivers/stag

[PATCH 2/2] drivers:staging:silicom fixed checkpatch coding style error on macros

2014-02-11 Thread Surendra Patil
checkpatch displays below errors for bypasslib/bp_ioctl.h file ERROR: Macros with complex values should be enclosed in parenthesis Hence added parenthesis for macros with complex values. Signed-off-by: Surendra Patil --- drivers/staging/silicom/bypasslib/bp_ioctl.h | 4 ++-- 1 file

[PATCH 1/2] drivers:staging:silicom Fixed extern warnings reported by checkpatch

2014-02-11 Thread Surendra Patil
else so made them static. Signed-off-by: Surendra Patil --- drivers/staging/silicom/bp_mod.h| 2 -- drivers/staging/silicom/bpctl_mod.c | 20 ++-- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/drivers/staging/silicom/bp_mod.h b/drivers/staging/silicom

[PATCH 1/2] drivers:staging:silicom: Fixed MACRO and Extern Coding style warnings and errors

2014-02-10 Thread Surendra Patil
: externs should be avoided in .c files bpctl_mod.c:125: WARNING: externs should be avoided in .c files bp_ioctl.h:54: ERROR: Macros with complex values should be enclosed in parenthesis bp_ioctl.h:159: ERROR: Macros with complex values should be enclosed in parenthesis Signed-off-by: Surendra Patil

[PATCH 2/2] drivers:staging:silicom Removed bp_proc_create() declaration

2014-02-10 Thread Surendra Patil
Removed bp_proc_create() declaration from bp_mod.h, already declared static in bpctl_mod.c in first patch Signed-off-by: Surendra Patil --- drivers/staging/silicom/bp_mod.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/silicom/bp_mod.h b/drivers/staging/silicom/bp_mod.h

[PATCH] drivers:staging:silicom: Fixed MACRO, Extern, parentheses Coding style warnings and errors

2014-02-09 Thread Surendra Patil
: WARNING: Unnecessary parentheses - maybe == should be = ? Signed-off-by: Surendra Patil --- drivers/staging/silicom/bpctl_mod.c | 28 ++-- drivers/staging/silicom/bypasslib/bp_ioctl.h | 4 ++-- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers

[PATCH] drivers:statging:rtl8821ae Fixed few coding style errors

2014-02-09 Thread Surendra Patil
Fixed few coding style errors in header files base.h:58: WARNING: please, no space before tabs base.h:81: ERROR: "(foo*)" should be "(foo *)" pci.h:338: ERROR: "foo * bar" should be "foo *bar" pci.h:151: ERROR: do not use C99 // comments Signed-off-

[PATCH 2/2] vers:staging:rtl8821ae: Fixed multiple coding style erors and warnings

2014-02-08 Thread Surendra Patil
tabs where possible wifi.h:2303: ERROR: space prohibited after that open parenthesis '(' wifi.h:2408: ERROR: spaces required around that '=' (ctx:VxV) Signed-off-by: Surendra Patil --- drivers/staging/rtl8821ae/wifi.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

[PATCH 1/2] drivers:staging:rtl8821ae: Fixed few coding style erors and warnings

2014-02-08 Thread Surendra Patil
tabs where possible wifi.h:2303: ERROR: space prohibited after that open parenthesis '(' wifi.h:2408: ERROR: spaces required around that '=' (ctx:VxV) Signed-off-by: Surendra Patil --- drivers/staging/rtl8821ae/wifi.h | 450 --- 1 file c

[PATCH] drivers:staging:tl8821ae Fixed the size of array to macro as discussed by Linus

2014-02-03 Thread Surendra Patil
and will let it be because it doesn't seem to be an issue in practice, but please fix it. The obvious fix would seem to change the size of "2" to be "MAX_RF_PATH", but I'll abstain from doing those kinds of changes in the merge when it doesn't seem to affect the buil

[PATCH] drivers:staging:tl8821ae Fixed the size of array to macro

2014-02-03 Thread Surendra Patil
Changed array size from "bb_swing_idx_ofdm[2]" to "bb_swing_idx_ofdm[MAX_RF_PATH]" Reported-By: Linus Torvalds Signed-off-by: Surendra Patil --- drivers/staging/rtl8821ae/wifi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl882

[PATCH] drivers:staging:tl8821ae Fixed the size of array to macro

2014-02-01 Thread Surendra Patil
Changed array size from "bb_swing_idx_ofdm[2]" to "bb_swing_idx_ofdm[MAX_RF_PATH]" as discussed on thread - https://lkml.org/lkml/2014/2/1/75 Signed-off-by: Surendra Patil --- drivers/staging/rtl8821ae/wifi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --g

[PATCH] drivers:staging:octeon-usb: Fixed Bitfields coding style errors

2014-01-30 Thread Surendra Patil
Fixed Below coding style errors - octeon-hcd.h:146: ERROR: spaces prohibited around that ':' (ctx:WxW) octeon-hcd.h:147: ERROR: spaces prohibited around that ':' (ctx:WxW) total: 243 errors, 0 warnings, 1819 lines checked - fixed all errors Signed-off-by: Surendra Patil

[PATCH] Drivers:staging:octeon-usb: Fixed Few coding style errors

2014-01-30 Thread Surendra Patil
hcd.c:3228: ERROR: return is not a function, parentheses are not required Signed-off-by: Surendra Patil --- drivers/staging/octeon-usb/octeon-hcd.c | 31 +++ 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drive

[PATCH] Staging : comedi : comedidev.h Fixed warning space coding style issue

2014-01-20 Thread Surendra Patil
Fixed a coding style issue,removed space after the function pointer name Signed-off-by: Surendra Patil --- drivers/staging/comedi/comedidev.h | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/staging/comedi/comedidev.h b/drivers