[PATCH 2/2] staging:rtl8188eu Fix coding style issues

2017-08-14 Thread janani-sankarababu
This patch solves the following warnings thrown by checkpatch script WARNING: Comparisons should place the constant on the right side of the test Signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8188eu/core/rtw_ioctl_set.c | 6 +++--- 1 file changed, 3

[PATCH 2/2] staging:rtl8188eu Fix coding style issues

2017-08-14 Thread janani-sankarababu
This patch solves the following warnings thrown by checkpatch script WARNING: Comparisons should place the constant on the right side of the test Signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8188eu/core/rtw_ioctl_set.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

[PATCH] staging:wlan-ng Fix multiple line dereference

2017-08-02 Thread janani-sankarababu
This patch fixes multiple line dereference Warning reported by checkpatch script. This is done to simplify the code and make it more readable. Signed-off-by: Janani Sankara Babu --- drivers/staging/wlan-ng/hfa384x_usb.c | 12 1 file changed, 4 insertions(+), 8

[PATCH] staging:wlan-ng Fix multiple line dereference

2017-08-02 Thread janani-sankarababu
This patch fixes multiple line dereference Warning reported by checkpatch script. This is done to simplify the code and make it more readable. Signed-off-by: Janani Sankara Babu --- drivers/staging/wlan-ng/hfa384x_usb.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff

[PATCH V2 2/2] staging:rtl8188eu:core Fix Avoid CamelCase

2017-08-01 Thread janani-sankarababu
This patch is created to solve CamelCase issue. The variables 'IEs' and 'IELength' of struct wlan_bssid_ex are replaced with 'ies' and 'ie_length' to solve the CamelCase issue and these changes are applied to all the places where these variables are referenced inside the rtl8188eu driver.

[PATCH V2 2/2] staging:rtl8188eu:core Fix Avoid CamelCase

2017-08-01 Thread janani-sankarababu
This patch is created to solve CamelCase issue. The variables 'IEs' and 'IELength' of struct wlan_bssid_ex are replaced with 'ies' and 'ie_length' to solve the CamelCase issue and these changes are applied to all the places where these variables are referenced inside the rtl8188eu driver.

[PATCH 2/2] staging:rtl8188eu:core Fix Avoid CamelCase

2017-08-01 Thread janani-sankarababu
This patch is created to solve CamelCase issue. The members 'IEs' and 'IELength' of struct wlan_bssid_ex are modified to 'ies' and 'ielength' to solve CamelCase. And all the places where these variables are referenced inside rtl8188eu driver are also changed. ---

[PATCH 2/2] staging:rtl8188eu:core Fix Avoid CamelCase

2017-08-01 Thread janani-sankarababu
This patch is created to solve CamelCase issue. The members 'IEs' and 'IELength' of struct wlan_bssid_ex are modified to 'ies' and 'ielength' to solve CamelCase. And all the places where these variables are referenced inside rtl8188eu driver are also changed. ---

[PATCH] staging:rtl8188eu:core Add spaces around

2017-08-01 Thread janani-sankarababu
This patch is created to solve the coding style issues reported by the checkpatch script. Signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8188eu/core/rtw_ap.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git

[PATCH] staging:rtl8188eu:core Add spaces around

2017-08-01 Thread janani-sankarababu
This patch is created to solve the coding style issues reported by the checkpatch script. Signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8188eu/core/rtw_ap.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ap.c

[PATCH] Staging: vc04_services: Fix WARN_ON instead of BUG_ON

2017-07-31 Thread janani-sankarababu
This patch is to replace the use of BUG_ON macro with WARN_ON inorder to prevent the crashing of the kernel. Signed-off-by: Janani Sankara Babu --- drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] Staging: vc04_services: Fix WARN_ON instead of BUG_ON

2017-07-31 Thread janani-sankarababu
This patch is to replace the use of BUG_ON macro with WARN_ON inorder to prevent the crashing of the kernel. Signed-off-by: Janani Sankara Babu --- drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2] staging:wlan-ng Correct multiple line dereference

2017-07-28 Thread janani-sankarababu
This patch fixes the multiple line dereference Warning reported by checkpath script. This has been made to simplify the code and make it more readable. Signed-off-by: Janani Sankara Babu --- drivers/staging/wlan-ng/hfa384x_usb.c | 12 +--- 1 file changed, 5

[PATCH v2] staging:wlan-ng Correct multiple line dereference

2017-07-28 Thread janani-sankarababu
This patch fixes the multiple line dereference Warning reported by checkpath script. This has been made to simplify the code and make it more readable. Signed-off-by: Janani Sankara Babu --- drivers/staging/wlan-ng/hfa384x_usb.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-)

[PATCH] drivers:staging:wlan-ng Correct multiple line dereference

2017-07-28 Thread janani-sankarababu
This patch fixes multiple line dereference Warning reported by checkpath script. This has been made to simplify the code and make it more readable. Signed-off-by: Janani S --- drivers/staging/wlan-ng/hfa384x_usb.c | 12 +--- 1 file changed, 5 insertions(+), 7

[PATCH] drivers:staging:wlan-ng Correct multiple line dereference

2017-07-28 Thread janani-sankarababu
This patch fixes multiple line dereference Warning reported by checkpath script. This has been made to simplify the code and make it more readable. Signed-off-by: Janani S --- drivers/staging/wlan-ng/hfa384x_usb.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git

[PATCH V3] init:main.c: Fix:Issues in Block comment & if block

2017-07-28 Thread janani-sankarababu
This patch Fixes the improper block comments and if block where it is unnecessary to add single line of code in curly braces Signed-off-by: Janani S --- init/main.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/init/main.c b/init/main.c index

[PATCH V3] init:main.c: Fix:Issues in Block comment & if block

2017-07-28 Thread janani-sankarababu
This patch Fixes the improper block comments and if block where it is unnecessary to add single line of code in curly braces Signed-off-by: Janani S --- init/main.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/init/main.c b/init/main.c index 052481f..f8eb4966

[PATCH 2/2] init/main.c: Fixes quoted string split across lines & missing blank line after declaration

2017-07-28 Thread janani-sankarababu
Signed-off-by: Janani S --- init/main.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/init/main.c b/init/main.c index f8eb4966..920b829 100644 --- a/init/main.c +++ b/init/main.c @@ -176,6 +176,7 @@ static bool __init obsolete_checksetup(char *line)

[PATCH 2/2] init/main.c: Fixes quoted string split across lines & missing blank line after declaration

2017-07-28 Thread janani-sankarababu
Signed-off-by: Janani S --- init/main.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/init/main.c b/init/main.c index f8eb4966..920b829 100644 --- a/init/main.c +++ b/init/main.c @@ -176,6 +176,7 @@ static bool __init obsolete_checksetup(char *line) p =

[PATCH] init:main.c: Fixed issues in Block comments and removed braces in single statement if block

2017-07-28 Thread janani-sankarababu
Signed-off-by: Janani S --- init/main.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/init/main.c b/init/main.c index 052481f..f8eb4966 100644 --- a/init/main.c +++ b/init/main.c @@ -181,7 +181,8 @@ static bool __init obsolete_checksetup(char

[PATCH] init:main.c: Fixed issues in Block comments and removed braces in single statement if block

2017-07-28 Thread janani-sankarababu
Signed-off-by: Janani S --- init/main.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/init/main.c b/init/main.c index 052481f..f8eb4966 100644 --- a/init/main.c +++ b/init/main.c @@ -181,7 +181,8 @@ static bool __init obsolete_checksetup(char *line)

[PATCH] init:main.c: Fixed issues for Block comments and

2017-07-26 Thread janani-sankarababu
Signed-off-by: Janani S --- init/main.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/init/main.c b/init/main.c index 052481f..f8eb4966 100644 --- a/init/main.c +++ b/init/main.c @@ -181,7 +181,8 @@ static bool __init obsolete_checksetup(char

[PATCH] init:main.c: Fixed issues for Block comments and

2017-07-26 Thread janani-sankarababu
Signed-off-by: Janani S --- init/main.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/init/main.c b/init/main.c index 052481f..f8eb4966 100644 --- a/init/main.c +++ b/init/main.c @@ -181,7 +181,8 @@ static bool __init obsolete_checksetup(char *line)