[PATCH] Staging: ks7010: ks_wlan_ioctl.h: Fix coding style error

2017-03-12 Thread Manoj Sawai
Fixes a checkpatch error which occurs on almost every line. "ERROR: Macros with complex values should be enclosed in parentheses" Couple of other warnings about using spaces instead of tab are also fixed since they are in the same line as the error. Signed-off-by: Manoj Sawai --

[PATCH] Staging: xgifb: XGI_main_26.c: non-standard C

2017-03-09 Thread Manoj Sawai
Fixes following checkpatch warning: "WARNING: %Lx is non-standard C, use %llx" Signed-off-by: Manoj Sawai --- drivers/staging/xgifb/XGI_main_26.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/sta

[PATCH 2/2] Staging: xgifb: XGI_main_26.c: non-standard C

2017-03-09 Thread Manoj Sawai
Fixes the following warning: "WARNING: %Lx is non-standard C, use %llx" Signed-off-by: Manoj Sawai --- drivers/staging/xgifb/XGI_main_26.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/staging/xgifb/XGI

[PATCH 1/2] Staging: xgifb: XGI_main_26.c: Fix a checkpatch warning

2017-03-09 Thread Manoj Sawai
Fixes a checkpatch warning about use of non-standard C WARNING: %Lx is non-standard C, use %llx Signed-off-by: Manoj Sawai --- drivers/staging/xgifb/XGI_main_26.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/staging/xgifb

[PATCH] Staging: fbtft: fbtft-bus.c: checkpatch error

2017-03-08 Thread Manoj Sawai
Fixes a checkpatch error. "ERROR: space prohibited before that close parenthesis ')'" Signed-off-by: Manoj Sawai --- drivers/staging/fbtft/fbtft-bus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/fbtft/fbtft-bus.c b/drivers/stagi

[PATCH 2/2] Staging: xgifb: XGI_main_26.c: non-standard C

2017-03-08 Thread Manoj Sawai
Fixed a checkpatch warning about use of %Lx instead of %llx. Signed-off-by: Manoj Sawai --- drivers/staging/xgifb/XGI_main_26.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/staging/xgifb/XGI_main_26.c index 7a181ed88094

[PATCH 1/2] Staging: xgifb: XGI_main_26.c: non-standard C

2017-03-08 Thread Manoj Sawai
Fixed a checkpatch warning about use of %Lx instead of %llx. Signed-off-by: Manoj Sawai --- drivers/staging/xgifb/XGI_main_26.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/staging/xgifb/XGI_main_26.c index 69ed137337ce

[PATCH 2/2] Staging: xgifb: XGI_main_26.c: non-standard C

2017-03-08 Thread Manoj Sawai
Fixed a checkpatch warning about use of %Lx instead of %llx. Signed-off-by: Manoj Sawai --- drivers/staging/xgifb/XGI_main_26.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/staging/xgifb/XGI_main_26.c index 7a181ed88094

[PATCH 1/2] Staging: xgifb: XGI_main_26.c: non-standard C

2017-03-08 Thread Manoj Sawai
Fixed a checkpatch warning about use of %Lx instead of %llx. Signed-off-by: Manoj Sawai --- drivers/staging/xgifb/XGI_main_26.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/staging/xgifb/XGI_main_26.c index 69ed137337ce

[PATCH 1/2] Staging: xgifb: vb_setmode.c: Fix checkpath warning

2017-02-28 Thread Manoj Sawai
Fix the following checkpatch.pl warning: Avoid multiple line dereference - prefer 'XGI330_RefIndex[RefreshRateTableIndex+(*i)].Ext_InfoFlag' Signed-off-by: Manoj Sawai --- drivers/staging/xgifb/vb_setmode.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

[PATCH 2/2] Staging: xgifb: vb_setmode.c: Fix checkpath warnings

2017-02-28 Thread Manoj Sawai
Fix the following checkpatch.pl warnings: 1: Avoid multiple line dereference - prefer 'XGI330_RefIndex[RefreshRateTableIndex+i].ModeID' 2: Avoid multiple line dereference - prefer 'XGI330_RefIndex[RefreshRateTableIndex+(*i)].Ext_InfoFlag' Signed-off-by: Manoj Sawai

[PATCH 1/2] Staging: xgifb: vb_setmode.c: Fix checkpath warning

2017-02-26 Thread Manoj Sawai
Fix the following checkpatch.pl warning: Avoid multiple line dereference - prefer 'XGI330_RefIndex[RefreshRateTableIndex+(*i)].Ext_InfoFlag' Signed-off-by: Manoj Sawai --- drivers/staging/xgifb/vb_setmode.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

[PATCH 2/2] Staging: xgifb: vb_setmode.c: Fix checkpath warnings

2017-02-26 Thread Manoj Sawai
Fix the following checkpatch.pl warnings: 1: Avoid multiple line dereference - prefer 'XGI330_RefIndex[RefreshRateTableIndex+i].ModeID' 2: Avoid multiple line dereference - prefer 'XGI330_RefIndex[RefreshRateTableIndex+(*i)].Ext_InfoFlag' Signed-off-by: Manoj Sawai

[PATCH 3/4] Staging: bcm2835-audio: bcm2835-pcm.c: brace coding style issue

2017-02-24 Thread Manoj Sawai
fixed the following checkpatch.pl warning: "drivers/staging/bcm2835-audio/bcm2835-pcm.c:320: WARNING: braces {} are not necessary for single statement blocks" Signed-off-by: Manoj Sawai --- drivers/staging/bcm2835-audio/bcm2835-pcm.c | 7 --- 1 file changed, 4 insertions(+), 3

[PATCH 4/4] Staging: bcm2835-audio: bcm2835-vchiq.c: lines over 80 character limit

2017-02-24 Thread Manoj Sawai
Trimmed lines that were unnecessarily over 80 characters long. Signed-off-by: Manoj Sawai --- drivers/staging/bcm2835-audio/bcm2835-vchiq.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/bcm2835-audio/bcm2835-vchiq.c b/drivers/staging/bcm2835

[PATCH 2/4] Staging: bcm2835-audio: bcm835-ctl.c: fixed checkpatch warning

2017-02-24 Thread Manoj Sawai
Fixed the following warning : "drivers/staging/bcm2835-audio/bcm2835-ctl.c:251: WARNING: Block comments use a trailing */ on a separate line" Signed-off-by: Manoj Sawai --- drivers/staging/bcm2835-audio/bcm2835-ctl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH 1/4] Staging: bcm2835-audio: bcm2835.h: fixed checkpatch warning

2017-02-24 Thread Manoj Sawai
Fixed a checkpatch.pl about coding style in comments. '*' missing on subsequent lines. Signed-off-by: Manoj Sawai --- drivers/staging/bcm2835-audio/bcm2835.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/bcm2835-audio/bcm2835.h b/drive

[PATCH 2/2] Staging: ks7010: ks7010_sdio.h: Trailing whitespace

2016-12-12 Thread Manoj Sawai
Removed trailing whitespace. Signed-off-by: Manoj Sawai --- drivers/staging/ks7010/ks7010_sdio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ks7010/ks7010_sdio.h b/drivers/staging/ks7010/ks7010_sdio.h index 5820b5c9b684..0165994605ac 100644 --- a/drivers

[PATCH 1/2] Staging: ks7010: ks7010_sdio.h: Complex macro not in parentheses

2016-12-12 Thread Manoj Sawai
Fixed coding style error. Complex macro not inside parentheses. Signed-off-by: Manoj Sawai --- drivers/staging/ks7010/ks7010_sdio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ks7010/ks7010_sdio.h b/drivers/staging/ks7010/ks7010_sdio.h index 0f5fd848e23d

[PATCH] Staging: ks7010: ks7010_sdio.h: Fixed coding style error

2016-12-09 Thread Manoj Sawai
Error - Complex macro not in parentheses and trailing whitespace Signed-off-by: Manoj Sawai --- drivers/staging/ks7010/ks7010_sdio.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/ks7010/ks7010_sdio.h b/drivers/staging/ks7010/ks7010_sdio.h index

[PATCH] Staging: ks7010: ks7010_sdio.h: Fixed coding style errors

2016-12-08 Thread Manoj Sawai
Errors - Complex macro not a parentheses and trailing whitespace Also fixed other small checkpatch warnings and checks. Signed-off-by: Manoj Sawai --- drivers/staging/ks7010/ks7010_sdio.h | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/staging/ks7010

[PATCH 2/2] Staging: ks7010: eap_packet.h: fixed coding style issue

2016-12-04 Thread Manoj Sawai
Rearranged comments so that lines are less than 80 characters long Signed-off-by: Manoj Sawai --- drivers/staging/ks7010/eap_packet.h | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/staging/ks7010/eap_packet.h b/drivers/staging/ks7010/eap_packet.h index

[PATCH] Staging: ks7010: ks7010_stio.h: fixed coding style error

2016-12-04 Thread Manoj Sawai
Fixed 2 coding style errors about trailing whitespaces. Signed-off-by: Manoj Sawai --- drivers/staging/ks7010/ks7010_sdio.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/ks7010/ks7010_sdio.h b/drivers/staging/ks7010/ks7010_sdio.h index 0a0951a6

[PATCH] Staging: ks7010: ks7010_sdio.c: Fixed a coding style issue.

2016-10-29 Thread Manoj Sawai
Fixed a coding style error involving use of spaces instead of tabs. Signed-off-by: Manoj Sawai --- drivers/staging/ks7010/ks7010_sdio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ks7010/ks7010_sdio.c b/drivers/staging/ks7010/ks7010_sdio.c index 81c46f4

[PATCH] Staging: ks7010: ks7010_stio: Fixed several coding style issues

2016-10-28 Thread Manoj Sawai
Fixed all the "errors" reported by checkpath.pl in ks7010_stio.c The "TODO" file ask to take the 80 character limit lightly, so the file still has some warnings about character limit. All the errors have been removed. Signed-off-by: Manoj Sawai --- drivers/staging/ks701