[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 <m...

[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 <m...@iitkgp.ac.in> --- drivers/staging/xgifb/XGI_main_26.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/xgifb/XGI_main

[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 <m...@iitkgp.ac.in> --- 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

[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 <m...@iitkgp.ac.in> --- drivers/staging/xgifb/XGI_main_26.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/xgifb/XGI_main_2

[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 <m...@iitkgp.ac.in> --- drivers/staging/fbtft/fbtft-bus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/fbtft/fbtft-bus.c b

[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 <m...@iitkgp.ac.in> --- 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_mai

[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 <m...@iitkgp.ac.in> --- 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

[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 <m...@iitkgp.ac.in> --- 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_mai

[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 <m...@iitkgp.ac.in> --- 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

[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 <m...@iitkgp.ac.in> --- drivers/staging/xgifb/vb_setmode.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-)

[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 <m...@iitkgp.ac

[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 <m...@iitkgp.ac

[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 <m...@iitkgp.ac.in> --- drivers/staging/xgifb/vb_setmode.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-)

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

2016-12-12 Thread Manoj Sawai
Removed trailing whitespace. Signed-off-by: Manoj Sawai <m...@iitkgp.ac.in> --- 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..016599

[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 <m...@iitkgp.ac.in> --- 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_

[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 <m...@iitkgp.ac.in> --- 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/

[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 <m...@iitkgp.ac.in> --- drivers/staging/ks7010/ks7010_sdio.h | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/d

[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 <m...@iitkgp.ac.in> --- 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/

[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 <m...@iitkgp.ac.in> --- 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_

[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 <m...@iitkgp.ac.in> --- 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/

[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 <m...@iitkgp.ac.in> -