[PATCH] staging: gasket: Remove unnecessary line-breaks in function signatures

2019-08-16 Thread Sumera Priyadarsini
This patch fixes the function signatures for gasket_read_page_table_size, gasket_read_simple_page_table_size, gasket_partition_page_table, gasket_config_coherent_allocator to avoid the checkpatch.pl warning: CHECK: Lines should not end with a '(' Signed-off-by: Sumera Priyadarsini

[PATCH] staging: rtl8192u: Remove unnecessary blank lines

2019-08-22 Thread Sumera Priyadarsini
This patch fixes the file r8180_93cx6.c to avoid the checkpatch.pl warning: CHECK: Please don't use multiple blank lines Signed-off-by: Sumera Priyadarsini --- drivers/staging/rtl8192u/r8180_93cx6.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/rtl8192u

[PATCH v2 2/2] staging: rtl8192u: Add or remove blank lines as required

2019-08-26 Thread Sumera Priyadarsini
Signed-off-by: Sumera Priyadarsini --- Changes since v1: - Split the commit into two patches --- drivers/staging/rtl8192u/r8190_rtl8256.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8192u/r8190_rtl8256.c b/drivers/staging/rtl8192u/r8190_rtl8256.c

[PATCH v2 1/2] staging: rtl8192u: Add or remove spaces to fix style issues

2019-08-26 Thread Sumera Priyadarsini
This patch fixes the file r8190_rtl8256.c to avoid the following checkpatch.pl warnings: CHECK: spaces preferred around that '<<' (ctx:VxV) CHECK: spaces preferred around that '-' (ctx:VxV) CHECK: No space is necessary after a cast Signed-off-by: Sumera Priyad

[PATCH] staging: rtl8192u: Fix spacing style issues

2019-08-25 Thread Sumera Priyadarsini
Please use a blank line after function/struct/union/enum declarations CHECK: No space is necessary after a cast CHECK: Please don't use multiple blank lines CHECK: Please don't use multiple blank lines Signed-off-by: Sumera Priyadarsini --- drivers/staging/rtl8192u/r8190_r

[PATCH] staging: rtl8192u: Add space around binary operators

2019-08-22 Thread Sumera Priyadarsini
This patch fixes the file r8180_93cx6.c to avoid the checkpatch.pl warnings: CHECK: spaces preferred around that '<<' (ctx:VxV) CHECK: spaces preferred around that '-' (ctx:VxV) Signed-off-by: Sumera Priyadarsini --- drivers/staging/rtl8192u/r8180_93cx6.c | 6 +++---

[RESEND PATCH] staging: rtl8192u: Fix indentation for cleaner code

2019-09-13 Thread Sumera Priyadarsini
Fixes indentation for if condition in the file r8190_rtl8256.c for better readability as suggested by Dan Carpenter. Reported-by: Dan Carpenter Signed-off-by: Sumera Priyadarsini --- drivers/staging/rtl8192u/r8190_rtl8256.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH v2 1/2] staging: rtl8192u: Add or remove spaces to fix style issues

2019-09-11 Thread Sumera Priyadarsini
On Tue, Sep 10, 2019 at 5:00 PM Dan Carpenter wrote: > > On Sun, Sep 08, 2019 at 12:58:39PM +0530, Sumera Priyadarsini wrote: > > Hi, I am extremely sorry for a late response to this. I was caught up > > with some laptop issues. I will send a separate patch making the >

[PATCH 0/3] rtl8192u: Fix checkpatch warnings in r8192U_core.c

2019-09-14 Thread Sumera Priyadarsini
This patch series fixes several checkpatch.pl warnings in r8192U_core.c related to unwanted blank lines, line-breaks and alignment issues. Sumera Priyadarsini (3): staging: rtl8192u: Remove unnecessary blank lines staging: rtl8192u: Fix alignment to match open parenthesis staging: rtl8192u

[PATCH 3/3] staging: rtl8192u: Remove unnecessary line-breaks in function signatures

2019-09-14 Thread Sumera Priyadarsini
This patch fixes the function signatures for rtl8192_handle_assoc_response, rtl8192_record_rxdesc_forlateruse, rtl819xusb_process_received_packet and other relevant code blocks to avoid the checkpatch.pl warning: CHECK: Lines should not end with a '(' Signed-off-by: Sumera Priyadarsini

[PATCH 1/3] staging: rtl8192u: Remove unnecessary blank lines

2019-09-14 Thread Sumera Priyadarsini
This patch fixes the file r8192U_core.c to avoid the chechpatch.pl warnings: CHECK: Please don't use multiple blank lines CHECK: Blank lines aren't necessary before a close brace '}' Signed-off-by: Sumera Priyadarsini --- drivers/staging/rtl8192u/r8192U_core.c | 70

[PATCH 2/3] staging: rtl8192u: Fix alignment to match open parenthesis

2019-09-14 Thread Sumera Priyadarsini
This patch fixes the file r8192U_core.c to avoid the checkpatch.pl warning: CHECK: Alignment should match open parenthesis Signed-off-by: Sumera Priyadarsini --- drivers/staging/rtl8192u/r8192U_core.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers

Re: [PATCH v2 1/2] staging: rtl8192u: Add or remove spaces to fix style issues

2019-09-08 Thread Sumera Priyadarsini
On Tue, Aug 27, 2019 at 2:13 PM Dan Carpenter wrote: > > On Mon, Aug 26, 2019 at 11:39:09PM +0530, Sumera Priyadarsini wrote: > > This patch fixes the file r8190_rtl8256.c to avoid the following > > checkpatch.pl warnings: > > CHECK: spaces preferred a

[PATCH 0/3] staging: rtl8192u: Fix checkpatch warnings in

2019-09-18 Thread Sumera Priyadarsini
This patch series fixes several checkpatch.pl warnings in r8192U_core.c related to unwanted blank lines, line-breaks, and alignment issues. Sumera Priyadarsini (3): staging: rtl8192u: Remove unnecessary blank lines staging: rtl8192u: Fix alignment to match open parenthesis staging: rtl8192u

[PATCH 3/3] staging: rtl8192u: Remove unnecessary line-breaks in function signatures

2019-09-18 Thread Sumera Priyadarsini
This patch fixes the function signatures for rtl8192_handle_assoc_response, rtl8192_record_rxdesc_forlateruse, rtl819xusb_process_received_packet and other relevant code blocks to avoid the checkpatch.pl warning: CHECK: Lines should not end with a '(' Signed-off-by: Sumera Priyadarsini

[PATCH 2/3] staging: rtl8192u: Fix alignment to match open parenthesis

2019-09-18 Thread Sumera Priyadarsini
This patch fixes the file r8192U_core.c to avoid the checkpatch.pl warning: CHECK: Alignment should match open parenthesis Signed-off-by: Sumera Priyadarsini --- drivers/staging/rtl8192u/r8192U_core.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers

[PATCH 1/3] staging: rtl8192u: Remove unnecessary blank lines

2019-09-18 Thread Sumera Priyadarsini
This patch fixes the file r8192U_core.c to avoid the chechpatch.pl warnings: CHECK: Please don't use multiple blank lines CHECK: Blank lines aren't necessary before a close brace '}' Signed-off-by: Sumera Priyadarsini --- drivers/staging/rtl8192u/r8192U_core.c | 70

Re: [RESEND PATCH] staging: rtl8192u: Fix indentation for cleaner code

2019-10-02 Thread Sumera Priyadarsini
On Tue, Sep 24, 2019 at 8:47 PM Greg KH wrote: > > On Fri, Sep 13, 2019 at 11:31:01PM +0530, Sumera Priyadarsini wrote: > > Fixes indentation for if condition in the file r8190_rtl8256.c for better > > readability as suggested by Dan Carpenter. > > Please wrap your li

[PATCH v2] staging: rtl8192u: Fix indentation for cleaner code

2019-10-06 Thread Sumera Priyadarsini
Fixes indentation for if condition in the file r8190_rtl8256.c for better readability as suggested by Dan Carpenter. Reported-by: Dan Carpenter Signed-off-by: Sumera Priyadarsini --- Changes in v2: -Wrap commit message line at a column length of 72. --- drivers/staging/rtl8192u

[PATCH] staging: rtl8192u: Add space to fix style issue

2020-02-08 Thread Sumera Priyadarsini
This patch fixes the file r8190_rtl8256.c to avoid the following checkpatch.pl warnings: CHECK: spaces preferred around that '>>' (ctx:VxV) Signed-off-by: Sumera Priyadarsini --- drivers/staging/rtl8192u/r819xU_phy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH] staging: wfx: Remove unnecessary return variable

2020-07-26 Thread Sumera Priyadarsini
Remove redundant variable in file fwio.c used for returning value. Issue was found using Coccinelle: @@ local idexpression ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Sumera Priyadarsini --- drivers/staging/wfx/fwio.c | 11 +-- 1 file changed, 5

[PATCH] staging: wlan-ng: Fix alignment to match open parenthesis

2020-07-20 Thread Sumera Priyadarsini
This patch fixes the file cfg80211.c to avoid the checkpatch.pl warning: CHECK: Alignment should match open parenthesis Signed-off-by: Sumera Priyadarsini --- drivers/staging/wlan-ng/cfg80211.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git