[PATCH] Staging:fwserial Move LINUX_VENDOR_ID to firewire.h

2018-07-09 Thread Janani Sankara Babu
This driver uses the same unregistered vendor id that the firewire core does (0xd00d1e). Hence it is exposed as a define in firewire.h. Signed-off-by:Janani Sankara Babu --- drivers/staging/fwserial/fwserial.c | 1 - include/linux/firewire.h| 2 ++ 2 files changed, 2 insertions(+),

[PATCH] Staging:fwserial Move LINUX_VENDOR_ID to firewire.h

2018-07-09 Thread Janani Sankara Babu
This driver uses the same unregistered vendor id that the firewire core does (0xd00d1e). Hence it is exposed as a define in firewire.h. Signed-off-by:Janani Sankara Babu --- drivers/staging/fwserial/fwserial.c | 1 - include/linux/firewire.h| 2 ++ 2 files changed, 2 insertions(+),

[PATCH 1/3] Staging:rtl8192e Fix Comparison to False is error prone

2018-06-18 Thread Janani Sankara Babu
This patch removes comparison to False and boolean values in the code which can be written as !var Signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/staging/rtl8192e

[PATCH 1/3] Staging:rtl8192e Fix Comparison to False is error prone

2018-06-18 Thread Janani Sankara Babu
This patch removes comparison to False and boolean values in the code which can be written as !var Signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/staging/rtl8192e

[PATCH 2/3] Staging:rtl8192e Fix Comparison to true is error prone

2018-06-18 Thread Janani Sankara Babu
This patch removes the comaprison to bool value in the code Signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e

[PATCH 3/3] Staging:rtl8192e Cleanup comparison to NULL

2018-06-18 Thread Janani Sankara Babu
This patch replaces the comparison of var to NULL with !var Signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c

[PATCH 2/3] Staging:rtl8192e Fix Comparison to true is error prone

2018-06-18 Thread Janani Sankara Babu
This patch removes the comaprison to bool value in the code Signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e

[PATCH 3/3] Staging:rtl8192e Cleanup comparison to NULL

2018-06-18 Thread Janani Sankara Babu
This patch replaces the comparison of var to NULL with !var Signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c

[PATCH V2 2/4] Staging:rtl8192e Fix Comparison to False is error prone

2018-06-11 Thread Janani Sankara Babu
This patch removes comparison to False and boolean in the code which can be written as !var Signed-off-by: Janani Sankara Babu --- changelog v2 : remove comparison to 0 , replacing with !var v1 : remove comparison to false drivers/staging/rtl8192e/rtl819x_BAProc.c | 16 1 file

[PATCH V2 2/4] Staging:rtl8192e Fix Comparison to False is error prone

2018-06-11 Thread Janani Sankara Babu
This patch removes comparison to False and boolean in the code which can be written as !var Signed-off-by: Janani Sankara Babu --- changelog v2 : remove comparison to 0 , replacing with !var v1 : remove comparison to false drivers/staging/rtl8192e/rtl819x_BAProc.c | 16 1 file

[PATCH 4/4] Staging:rtl8192e Cleanup comparison to NULL

2018-06-07 Thread Janani Sankara Babu
This patch replaces the comparison of var to NULL with !var Signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c

[PATCH 4/4] Staging:rtl8192e Cleanup comparison to NULL

2018-06-07 Thread Janani Sankara Babu
This patch replaces the comparison of var to NULL with !var Signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c

[PATCH 3/4] Staging:rtl8192e Fix Comparison to true is error prone

2018-06-07 Thread Janani Sankara Babu
This patch removes the comaprison to bool value in the code Signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e

[PATCH 3/4] Staging:rtl8192e Fix Comparison to true is error prone

2018-06-07 Thread Janani Sankara Babu
This patch removes the comaprison to bool value in the code Signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e

[PATCH 2/4] Staging:rtl8192e Fix Comparison to False is error prone

2018-06-07 Thread Janani Sankara Babu
This patch removes comparison to False(ie. bool) in the code Signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e

[PATCH 2/4] Staging:rtl8192e Fix Comparison to False is error prone

2018-06-07 Thread Janani Sankara Babu
This patch removes comparison to False(ie. bool) in the code Signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e

[PATCH 1/4] Staging:rtl8192e Replace function names by using __func__ identifier

2018-06-07 Thread Janani Sankara Babu
This patch is created to solve the warning shown by checkpatch script Prefer using '"%s...", __func__' to using ', this function's name, in a string Signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 8 1 file changed, 4 insertions(+), 4

[PATCH 1/4] Staging:rtl8192e Replace function names by using __func__ identifier

2018-06-07 Thread Janani Sankara Babu
This patch is created to solve the warning shown by checkpatch script Prefer using '"%s...", __func__' to using ', this function's name, in a string Signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 8 1 file changed, 4 insertions(+), 4

[PATCH] Staging:rtl8192e Replace function names by using __func__

2018-06-07 Thread Janani Sankara Babu
This patch is created to solve the warning shown by checkpatch script Prefer using '"%s...", __func__' to using ', this function's name, in a string Signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 8 1 file changed, 4 insertions(+), 4

[PATCH] Staging:rtl8192e Replace function names by using __func__

2018-06-07 Thread Janani Sankara Babu
This patch is created to solve the warning shown by checkpatch script Prefer using '"%s...", __func__' to using ', this function's name, in a string Signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 8 1 file changed, 4 insertions(+), 4

[PATCH] Staging:greybus Fix comparison to NULL

2018-06-02 Thread Janani Sankara Babu
This patch replaces comparison of var to NULL with !var Signed-off-by: Janani Sankara Babu --- drivers/staging/greybus/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/greybus/core.c b/drivers/staging/greybus/core.c index dafa430..5d14a4e 100644

[PATCH] Staging:greybus Fix comparison to NULL

2018-06-02 Thread Janani Sankara Babu
This patch replaces comparison of var to NULL with !var Signed-off-by: Janani Sankara Babu --- drivers/staging/greybus/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/greybus/core.c b/drivers/staging/greybus/core.c index dafa430..5d14a4e 100644

[PATCH] Staging:rtl888eu:include Fix CamelCase issue

2018-05-29 Thread Janani Sankara Babu
This patch is created to solve the CamelCase issue. The members 'IEs' and 'IELength' of struct wlan_bssid_ex are being modified to 'ie' and 'ie_length' to solve the issue. And the places where these variables are referenced inside rtl8188eu driver are also changed. Signed-off-by: Janani Sankara

[PATCH] Staging:rtl888eu:include Fix CamelCase issue

2018-05-29 Thread Janani Sankara Babu
This patch is created to solve the CamelCase issue. The members 'IEs' and 'IELength' of struct wlan_bssid_ex are being modified to 'ie' and 'ie_length' to solve the issue. And the places where these variables are referenced inside rtl8188eu driver are also changed. Signed-off-by: Janani Sankara

[PATCH] staging:rtl8188eu Remove unnecessary {} braces in

2017-09-21 Thread Janani Sankara Babu
This patch is created to solve coding style issues by removing curly braces from single statement code blocks Signed-off-by: Janani Sankara Babu <janani...@gmail.com> --- drivers/staging/rtl8188eu/hal/phy.c | 20 1 file changed, 8 insertions(+), 12 deletions(-) diff

[PATCH] staging:rtl8188eu Remove unnecessary {} braces in

2017-09-21 Thread Janani Sankara Babu
This patch is created to solve coding style issues by removing curly braces from single statement code blocks Signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8188eu/hal/phy.c | 20 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/drivers/staging

[PATCH] staging:ccree Fix avoid externs in .c files

2017-09-21 Thread Janani Sankara Babu
This patch solves the warning shown by the checkpatch script WARNING: externs should be avoided in .c files Signed-off-by: Janani Sankara Babu <janani...@gmail.com> --- drivers/staging/ccree/ssi_fips_local.c | 14 -- drivers/staging/ccree/ssi_fips_local.h | 13 + 2

[PATCH] staging:ccree Fix avoid externs in .c files

2017-09-21 Thread Janani Sankara Babu
This patch solves the warning shown by the checkpatch script WARNING: externs should be avoided in .c files Signed-off-by: Janani Sankara Babu --- drivers/staging/ccree/ssi_fips_local.c | 14 -- drivers/staging/ccree/ssi_fips_local.h | 13 + 2 files changed, 13

[PATCH] staging:ccree Fix char * array declaration

2017-09-21 Thread Janani Sankara Babu
This patch solves the following warning shown by the checkpatch script Warning: char * array declaration might be better as static const Signed-off-by: Janani Sankara Babu <janani...@gmail.com> --- drivers/staging/ccree/ssi_sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH] staging:ccree Fix char * array declaration

2017-09-21 Thread Janani Sankara Babu
This patch solves the following warning shown by the checkpatch script Warning: char * array declaration might be better as static const Signed-off-by: Janani Sankara Babu --- drivers/staging/ccree/ssi_sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging

[PATCH] staging:ccree Fix use BIT macro

2017-09-21 Thread Janani Sankara Babu
This patch is created to solve the following warning shown by the checkpatch script Warning: Replace all occurences of (1<<x) by BIT(x) Signed-off-by: Janani Sankara Babu <janani...@gmail.com> --- drivers/staging/ccree/ssi_cipher.h | 10 +- 1 file changed, 5 insertions(+),

[PATCH] staging:ccree Fix use BIT macro

2017-09-21 Thread Janani Sankara Babu
This patch is created to solve the following warning shown by the checkpatch script Warning: Replace all occurences of (1< --- drivers/staging/ccree/ssi_cipher.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/ccree/ssi_cipher.h

[PATCH] staging:ccree Fix code style issues

2017-09-21 Thread Janani Sankara Babu
This patch solves the coding style issues by giving same indent for switch and case Signed-off-by: Janani Sankara Babu <janani...@gmail.com> --- drivers/staging/ccree/ssi_hash.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/staging

[PATCH] staging:ccree Fix code style issues

2017-09-21 Thread Janani Sankara Babu
This patch solves the coding style issues by giving same indent for switch and case Signed-off-by: Janani Sankara Babu --- drivers/staging/ccree/ssi_hash.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/staging/ccree/ssi_hash.c b/drivers

[PATCH] staging:ccree Fix dont use assignment in if condition

2017-09-21 Thread Janani Sankara Babu
This patch solves the following error shown by checkpatch script ERROR: do not use assignment in if condition Signed-off-by: Janani Sankara Babu <janani...@gmail.com> --- drivers/staging/ccree/ssi_hash.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/s

[PATCH] staging:ccree Fix dont use assignment in if condition

2017-09-21 Thread Janani Sankara Babu
This patch solves the following error shown by checkpatch script ERROR: do not use assignment in if condition Signed-off-by: Janani Sankara Babu --- drivers/staging/ccree/ssi_hash.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/ccree/ssi_hash.c b

[PATCH] staging:vme Fix use BIT macro

2017-09-20 Thread Janani Sankara Babu
This patch is created to solve the following warning shown by the checkpatch script Warning: Replace all occurences of (1<<x) by BIT(x) Signed-off-by: Janani Sankara Babu <janani...@gmail.com> --- drivers/staging/vme/devices/vme_pio2.h | 6 +++--- 1 file changed, 3 insertions(+),

[PATCH] staging:vme Fix use BIT macro

2017-09-20 Thread Janani Sankara Babu
This patch is created to solve the following warning shown by the checkpatch script Warning: Replace all occurences of (1< --- drivers/staging/vme/devices/vme_pio2.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/vme/devices/vme_pio2.h

[PATCH] staging:rtl8188eu Fix remove semicolon in do {}while(0)

2017-09-20 Thread Janani Sankara Babu
This patch removes the semicolon at the end of while statement in the do while macro , inorder to avoid it behaving like compound statement. Signed-off-by: Janani Sankara Babu <janani...@gmail.com> --- drivers/staging/rtl8188eu/core/rtw_security.c | 2 +- 1 file changed, 1 insertion

[PATCH] staging:rtl8188eu Fix remove semicolon in do {}while(0)

2017-09-20 Thread Janani Sankara Babu
This patch removes the semicolon at the end of while statement in the do while macro , inorder to avoid it behaving like compound statement. Signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8188eu/core/rtw_security.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] staging:rtl8188eu:hal Fix wrong comparison to False

2017-09-20 Thread Janani Sankara Babu
This patch solves the warning "Using comparison to false is error prone" Signed-off-by: Janani Sankara Babu <janani...@gmail.com> --- drivers/staging/rtl8188eu/hal/odm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/hal/odm.c b

[PATCH] staging:rtl8188eu:hal Fix wrong comparison to False

2017-09-20 Thread Janani Sankara Babu
This patch solves the warning "Using comparison to false is error prone" Signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8188eu/hal/odm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/hal/odm.c b/drivers/staging/rtl8188eu

[PATCH] staging:rtl8188eu:core Fix code Indent

2017-09-05 Thread Janani Sankara Babu
This patch is created to solve the code indentation issue Signed-off-by: Janani Sankara Babu <janani...@gmail.com> --- drivers/staging/rtl8188eu/core/rtw_xmit.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_xmit.c b/d

[PATCH] staging:rtl8188eu:core Fix code Indent

2017-09-05 Thread Janani Sankara Babu
This patch is created to solve the code indentation issue Signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8188eu/core/rtw_xmit.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_xmit.c b/drivers/staging/rtl8188eu/core

[PATCH] staging:rtl8188eu Remove unneccessary parenthesis

2017-09-05 Thread Janani Sankara Babu
This patch is creates in order to correct the coding style issues. It removes the unwanted parenthesis from the code. Signed-off-by: Janani Sankara Babu <janani...@gmail.com> --- drivers/staging/rtl8188eu/core/rtw_xmit.c | 52 +++ 1 file changed, 26 insertions(

[PATCH] staging:rtl8188eu Remove unneccessary parenthesis

2017-09-05 Thread Janani Sankara Babu
This patch is creates in order to correct the coding style issues. It removes the unwanted parenthesis from the code. Signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8188eu/core/rtw_xmit.c | 52 +++ 1 file changed, 26 insertions(+), 26 deletions(-) diff

[PATCH] staging:rtl8188eu Fix coding style issues

2017-09-05 Thread Janani Sankara Babu
This patch aims to solve coding style issues by placing constants on the right side of the test Signed-off-by: Janani Sankara Babu <janani...@gmail.com> --- drivers/staging/rtl8188eu/core/rtw_pwrctrl.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/d

[PATCH] staging:rtl8188eu Fix coding style issues

2017-09-05 Thread Janani Sankara Babu
This patch aims to solve coding style issues by placing constants on the right side of the test Signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8188eu/core/rtw_pwrctrl.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8188eu/core

[PATCH] staging:rtl8188eu Fix use __func__ for function name

2017-09-05 Thread Janani Sankara Babu
This patch fixes the WARNING: Prefer using '"%s...", __func__' to using this function's name, in a string Signed-off-by: Janani Sankara Babu <janani...@gmail.com> --- drivers/staging/rtl8188eu/core/rtw_pwrctrl.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletion

[PATCH] staging:rtl8188eu Fix use __func__ for function name

2017-09-05 Thread Janani Sankara Babu
This patch fixes the WARNING: Prefer using '"%s...", __func__' to using this function's name, in a string Signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8188eu/core/rtw_pwrctrl.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drive

[PATCH] staging:rtl8188eu Fix msleep < 20ms can sleep upto 20ms

2017-09-05 Thread Janani Sankara Babu
This patch solves the following warning shown by checkpatch script Warning: msleep < 20ms can sleep for up to 20ms Signed-off-by: Janani Sankara Babu <janani...@gmail.com> --- drivers/staging/rtl8188eu/core/rtw_pwrctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

[PATCH] staging:rtl8188eu Fix msleep < 20ms can sleep upto 20ms

2017-09-05 Thread Janani Sankara Babu
This patch solves the following warning shown by checkpatch script Warning: msleep < 20ms can sleep for up to 20ms Signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8188eu/core/rtw_pwrctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl818

[PATCH V5] staging:rtl8188eu:core Rename CamelCase variables

2017-09-01 Thread Janani Sankara Babu
This patch is created to solve the CamelCase issue. The members 'IEs' and 'IELength' of struct wlan_bssid_ex are being modified to 'ie' and 'ie_length' to solve the issue. And the places where these variables are referenced inside rtl8188eu driver are also changed. Signed-off-by: Janani Sankara

[PATCH V5] staging:rtl8188eu:core Rename CamelCase variables

2017-09-01 Thread Janani Sankara Babu
This patch is created to solve the CamelCase issue. The members 'IEs' and 'IELength' of struct wlan_bssid_ex are being modified to 'ie' and 'ie_length' to solve the issue. And the places where these variables are referenced inside rtl8188eu driver are also changed. Signed-off-by: Janani Sankara

[PATCH V2] staging:rtl8188eu:core Fix remove unneccessary else block

2017-09-01 Thread Janani Sankara Babu
This patch removes the unwanted braces and else statement inside the function 'SecIsInPMKIDList' Signed-off-by: Janani Sankara Babu <janani...@gmail.com> --- Changelog V1 : Removed the else statement & Curly braces in If statement V2 : Removed the comment and added preincrement o

[PATCH V2] staging:rtl8188eu:core Fix remove unneccessary else block

2017-09-01 Thread Janani Sankara Babu
This patch removes the unwanted braces and else statement inside the function 'SecIsInPMKIDList' Signed-off-by: Janani Sankara Babu --- Changelog V1 : Removed the else statement & Curly braces in If statement V2 : Removed the comment and added preincrement of i inside the while loop dri

[PATCH V4] staging:rtl8188eu:core Rename CamelCase variables

2017-09-01 Thread Janani Sankara Babu
Sankara Babu <janani...@gmail.com> --- drivers/staging/rtl8188eu/core/rtw_ap.c | 86 ++-- drivers/staging/rtl8188eu/core/rtw_cmd.c| 26 +++--- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 20 ++--- drivers/staging/rtl8188eu/core/rtw_ioctl_set.c | 2 +- d

[PATCH V4] staging:rtl8188eu:core Rename CamelCase variables

2017-09-01 Thread Janani Sankara Babu
Sankara Babu --- drivers/staging/rtl8188eu/core/rtw_ap.c | 86 ++-- drivers/staging/rtl8188eu/core/rtw_cmd.c| 26 +++--- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 20 ++--- drivers/staging/rtl8188eu/core/rtw_ioctl_set.c | 2 +- drivers/staging/rtl8188eu

[PATCH] staging:rtl8188eu Fix comparison to NULL

2017-08-31 Thread Janani Sankara Babu
This patch replaces the comparison of variable say x to NULL with '!x' signed-off-by: Janani Sankara Babu <janani...@gmail.com> --- drivers/staging/rtl8188eu/core/rtw_mlme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme.c b/d

[PATCH] staging:rtl8188eu Fix comparison to NULL

2017-08-31 Thread Janani Sankara Babu
This patch replaces the comparison of variable say x to NULL with '!x' signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8188eu/core/rtw_mlme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme.c b/drivers/staging/rtl8188eu

[PATCH] staging:rtl8188eu:core Remove unneccessary else block

2017-08-31 Thread Janani Sankara Babu
This patch is created to remove the unneccessary else statement inside the function 'SecIsInPMKIDList'. Signed-off-by: Janani Sankara Babu <janani...@gmail.com> --- drivers/staging/rtl8188eu/core/rtw_mlme.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/d

[PATCH] staging:rtl8188eu:core Remove unneccessary else block

2017-08-31 Thread Janani Sankara Babu
This patch is created to remove the unneccessary else statement inside the function 'SecIsInPMKIDList'. Signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8188eu/core/rtw_mlme.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8188eu/core

[PATCH] staging:rtl8188eu:core Fix Code Indent

2017-08-30 Thread Janani Sankara Babu
This patch solves the code indentation issue inside the if block Signed-off-by: Janani Sankara Babu <janani...@gmail.com> --- drivers/staging/rtl8188eu/core/rtw_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_cmd.c b/drivers/s

[PATCH] staging:rtl8188eu:core Fix Code Indent

2017-08-30 Thread Janani Sankara Babu
This patch solves the code indentation issue inside the if block Signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8188eu/core/rtw_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_cmd.c b/drivers/staging/rtl8188eu/core

[PATCH] staging:rtl8188eu Use __func__ instead of function name

2017-08-29 Thread Janani Sankara Babu
This patch makes use of predefined identifier __func__ inorder to clear the warning: Prefer using '"%s...", __func__' to using 'update_bmc_sta', this function's name, in a string Signed-off-by: Janani Sankara Babu <janani...@gmail.com> --- drivers/staging/rtl8188eu/core/rtw_ap.

[PATCH] staging:rtl8188eu Use __func__ instead of function name

2017-08-29 Thread Janani Sankara Babu
This patch makes use of predefined identifier __func__ inorder to clear the warning: Prefer using '"%s...", __func__' to using 'update_bmc_sta', this function's name, in a string Signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8188eu/core/rtw_ap.c | 2 +- 1 file changed, 1

[PATCH V3] staging:rtl8188eu:core Rename CamelCase variables

2017-08-29 Thread Janani Sankara Babu
Sankara Babu <janani...@gmail.com> --- Changelog [Patch 1/2] : Replace 'IELength' and 'IEs' of struct wlan_bssid_ex with 'ie_length' and 'ies' [Patch 2/2] : Remove wrongly commented out lines from the code and rename 'ies' to 'ie' as per suggestions V3 : Merge all changes into single patch d

[PATCH V3] staging:rtl8188eu:core Rename CamelCase variables

2017-08-29 Thread Janani Sankara Babu
Sankara Babu --- Changelog [Patch 1/2] : Replace 'IELength' and 'IEs' of struct wlan_bssid_ex with 'ie_length' and 'ies' [Patch 2/2] : Remove wrongly commented out lines from the code and rename 'ies' to 'ie' as per suggestions V3 : Merge all changes into single patch drivers/staging/rtl8188eu/core

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

2017-08-29 Thread Janani Sankara Babu
Sankara Babu <janani...@gmail.com> --- Changes since V1: * Removed the commented lines that was added by me * Changed variable name from 'ies' to 'ie' as suggested by Dan Carpenter<dan.carpen...@oracle.com> drivers/staging/rtl8188eu/core/rtw_ap.c | 21 -- drivers/staging/rt

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

2017-08-29 Thread Janani Sankara Babu
This patch is created to solve the CamelCase issue. The members 'IEs' and 'IELength' of struct wlan_bssid_ex are modified to 'ies' and 'ie_length' to solve the issue.And all the places where these variables are referenced inside rtl8188eu driver are also changed. Signed-off-by: Janani Sankara

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

2017-08-29 Thread Janani Sankara Babu
Sankara Babu --- Changes since V1: * Removed the commented lines that was added by me * Changed variable name from 'ies' to 'ie' as suggested by Dan Carpenter drivers/staging/rtl8188eu/core/rtw_ap.c | 21 -- drivers/staging/rtl8188eu/core/rtw_cmd.c| 14 +++ drivers/staging

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

2017-08-29 Thread Janani Sankara Babu
This patch is created to solve the CamelCase issue. The members 'IEs' and 'IELength' of struct wlan_bssid_ex are modified to 'ies' and 'ie_length' to solve the issue.And all the places where these variables are referenced inside rtl8188eu driver are also changed. Signed-off-by: Janani Sankara

[PATCH 0/2] Fix Avoid CamelCase

2017-08-29 Thread Janani Sankara Babu
[Patch 1/2] : Replace 'IELength' and 'IEs' of struct wlan_bssid_ex with 'ie_length' and 'ies' [Patch 2/2] : Remove wrongly commented out lines from the code and rename 'ies' to 'ie' as per suggestions Janani Sankara Babu (2): staging:rtl8188eu:core Fix Avoid CamelCase staging:rtl8188eu:core

[PATCH 0/2] Fix Avoid CamelCase

2017-08-29 Thread Janani Sankara Babu
[Patch 1/2] : Replace 'IELength' and 'IEs' of struct wlan_bssid_ex with 'ie_length' and 'ies' [Patch 2/2] : Remove wrongly commented out lines from the code and rename 'ies' to 'ie' as per suggestions Janani Sankara Babu (2): staging:rtl8188eu:core Fix Avoid CamelCase staging:rtl8188eu:core

[PATCH] staging:rtl8188eu:core Fix Avoid CamelCase

2017-08-24 Thread Janani Sankara Babu
Sankara Babu <janani...@gmail.com> --- drivers/staging/rtl8188eu/core/rtw_ap.c | 89 +++-- drivers/staging/rtl8188eu/core/rtw_cmd.c| 26 +++--- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 20 ++--- drivers/staging/rtl8188eu/core/rtw_ioctl_set.c

[PATCH] staging:rtl8188eu:core Fix Avoid CamelCase

2017-08-24 Thread Janani Sankara Babu
Sankara Babu --- drivers/staging/rtl8188eu/core/rtw_ap.c | 89 +++-- drivers/staging/rtl8188eu/core/rtw_cmd.c| 26 +++--- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 20 ++--- drivers/staging/rtl8188eu/core/rtw_ioctl_set.c | 2 +- drivers/staging

[PATCH] staging:rtl8188eu:core Fix add spaces around

2017-08-24 Thread Janani Sankara Babu
This patch is created to solve the following coding style issue reported by the checkpatch script. CHECK: spaces preffered around that '&' (ctx:VxV) Signed-off-by: Janani Sankara Babu <janani...@gmail.com> --- drivers/staging/rtl8188eu/core/rtw_ap.c | 14 +++--- 1 file

[PATCH] staging:rtl8188eu:core Fix add spaces around

2017-08-24 Thread Janani Sankara Babu
This patch is created to solve the following coding style issue reported by the checkpatch script. CHECK: spaces preffered around that '&' (ctx:VxV) Signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8188eu/core/rtw_ap.c | 14 +++--- 1 file changed, 7 insertions(+), 7 delet

[PATCH] staging:rtl8188eu:core Fix coding style Issues

2017-08-24 Thread Janani Sankara Babu
This patch solves the following warning shown by the checkpatch script WARNING: Comparisons should place the constants on the right side of the test Signed-off-by: Janani Sankara Babu <janani...@gmail.com> --- drivers/staging/rtl8188eu/core/rtw_ioctl_set.c | 6 +++--- 1 file chan

[PATCH] staging:rtl8188eu:core Fix coding style Issues

2017-08-24 Thread Janani Sankara Babu
This patch solves the following warning shown by the checkpatch script WARNING: Comparisons should place the constants 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