[PATCH] drivers:bluetooth:ath3k.c Fixed sparse warning for cast to restricted __le32

2014-03-25 Thread Surendra Patil
thout warnings and errors on x86 machine with sparse. Signed-off-by: Surendra Patil --- drivers/bluetooth/ath3k.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/bluetooth/ath3k.c b/drivers/bluetooth/ath3k.c index be571fe..5564207 100644 --- a/drivers/bluetooth

[PATCH] drivers:bluetooth:ath3k.c: Fixed sparse warning for cast to restricted __le32

2014-03-25 Thread Surendra Patil
This patch fixes below Sparse warnings - drivers/bluetooth/ath3k.c:370:17: warning: cast to restricted __le32 drivers/bluetooth/ath3k.c:432:17: warning: cast to restricted __le32 Signed-off-by: Surendra Patil --- drivers/bluetooth/ath3k.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

[PATCH] Drivers:net:wireless:ti:wl1251: Fixed Sparse invalid assignment warning

2014-03-04 Thread Surendra Patil
right side to __le16. Signed-off-by: Surendra Patil --- drivers/net/wireless/ti/wl1251/cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ti/wl1251/cmd.c b/drivers/net/wireless/ti/wl1251/cmd.c index 223649b..bf1fa18 100644 --- a/drivers/net/wireless/ti

[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] 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