[PATCH] staging: wilc1000: Modification in code to use ARRAY_SIZE macro

2015-06-02 Thread Dhere, Chaitanya (C.)
From: Chaitanya Dhere In this patch, ARRAY_SIZE() macro is used to determine the size. This change was detected with the help of coccinelle tool. Signed-off-by: Chaitanya Dhere --- drivers/staging/wilc1000/linux_wlan.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driv

[PATCH v3 2/2] staging: rtl8192u: Fix indentation issue

2015-06-01 Thread Dhere, Chaitanya (C.)
From: Chaitanya Dhere This change was detected with help of checkpatch.pl script. Signed-off-by: Chaitanya Dhere --- drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_softma

[PATCH v3 1/2] staging: rtl8192u: Patch to modify if, else conditions

2015-06-01 Thread Dhere, Chaitanya (C.)
From: Chaitanya Dhere In this patch, the if, else conditions are modified to remove the unnecessary equality checks. This change was detected with help of coccinelle tool. Signed-off-by: Chaitanya Dhere --- drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c |6 ++ 1 file changed, 2

Re: [PATCH] staging: rtl8192u: Patch to modify if, else conditions

2015-06-01 Thread Dhere, Chaitanya (C.)
On Sun, May 31, 2015 at 10:38:18AM +0900, gre...@linuxfoundation.org wrote: > On Tue, May 19, 2015 at 04:55:57PM +0000, Dhere, Chaitanya (C.) wrote: > > In this patch: > > 1. the if condition is modified to remove > > the unnecessary equality check. > > 2. The else if

[PATCH v2 2/2] staging: rtl8192u: Fix indentation issue

2015-06-01 Thread Dhere, Chaitanya (C.)
From: Chaitanya Dhere This change was detected with help of coccinelle tool. Signed-off-by: Chaitanya Dhere --- drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c

[PATCH v2 1/2] staging: rtl8192u: Patch to modify if, else conditions

2015-06-01 Thread Dhere, Chaitanya (C.)
From: Chaitanya Dhere In this patch, the if, else conditions are modified to remove the unnecessary equality checks. This change was detected with help of coccinelle tool. Signed-off-by: Chaitanya Dhere --- .../staging/rtl8192u/ieee80211/ieee80211_softmac.c |6 ++ 1 file changed, 2 ins

Re: [PATCH] staging: rtl8192u: Patch to modify if, else conditions

2015-05-31 Thread Dhere, Chaitanya (C.)
On Sun, May 31, 2015 at 10:38:18AM +0900, gre...@linuxfoundation.org wrote: > On Tue, May 19, 2015 at 04:55:57PM +0000, Dhere, Chaitanya (C.) wrote: > > In this patch: > > 1. the if condition is modified to remove > > the unnecessary equality check. > > 2. The else if

[PATCH] staging: rtl8192u: Patch to modify if, else conditions

2015-05-19 Thread Dhere, Chaitanya (C.)
In this patch: 1. the if condition is modified to remove the unnecessary equality check. 2. The else if condition is replaced by an else condition since the variable checked in the if statement is a bool making the else if unnecessary. 3. Fixed indentation problem on line 1369. These changes were d

[PATCH] staging: rtl8192u: Modify if, else if conditions to remove unnecessary equality checks. This change was detected with the help of coccinelle tool.

2015-05-18 Thread Dhere, Chaitanya (C.)
Signed-off-by: Chaitanya Dhere Reply-To: --- drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c index d2e

[PATCH] Staging: rtl8188eu: Replaced kzalloc and memcpy combination with kmemdup

2015-04-07 Thread Dhere, Chaitanya (C.)
This change was detected with the help of coccinelle tool. It performs the same function as kzalloc amd memcpy. Signed-off-by: Chaitanya Dhere --- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8188eu/core

[PATCH] staging: lustre: replace kzalloc with copy_from_user with memdup_user

2015-03-31 Thread Dhere, Chaitanya (C.)
This patch replaces kzalloc and copy_from_user with memdup_user call This change was detected with coccinelle tool Signed-off-by: Chaitanya Dhere --- drivers/staging/lustre/lustre/llite/file.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/staging/lustr

[PATCH] Staging: rtl8188eu: Replaced kzalloc and memcpy combination with kmemdup

2015-03-30 Thread Dhere, Chaitanya (C.)
This change was detected with the help of coccinelle tool. It performs the same function as kzalloc amd memcpy. Signed-off-by: Chaitanya Dhere --- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8188eu/core