[PATCH] staging: rtl8712: fix avoid CamelCase in xmit_osdep.h

2021-04-07 Thread Mitali Borkar
Fixed Check:Avoid CamelCase by renaming SetFilter to set_filter Reported by checkpatch. Signed-off-by: Mitali Borkar --- drivers/staging/rtl8712/xmit_osdep.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8712/xmit_osdep.h b/drivers/staging/rtl8712

[PATCH] staging: qlge: remove else after break

2021-04-04 Thread Mitali Borkar
linux-staging@lists,linux-kernel@vger.kernel.org Bcc: Subject: [PATCH] staging: qlge:remove else after break Reply-To: Fixed Warning:- else is not needed after break break terminates the loop if encountered. else is unnecessary and increases indenatation Signed-off-by: Mitali Borkar

[no subject]

2021-04-04 Thread Mitali Borkar
outreachy-ker...@googlegroups.com, mitaliborkar...@gmail.com Bcc: Subject: [PATCH] staging: qlge:remove else after break Reply-To: Fixed Warning:- else is not needed after break break terminates the loop if encountered. else is unnecessary and increases indenatation Signed-off-by: Mitali

[PATCH 2/2] media: zoran: replace bit shifts by BIT() macro

2021-04-08 Thread Mitali Borkar
Added #include and replaced bit shifts by BIT() macro. This BIT() macro from linux/bitops.h is used to define ZR36057_VFESPFR_* bitmasks. Use of macro is better and neater. It maintains consistency. Reported by checkpatch. Signed-off-by: Mitali Borkar --- drivers/staging/media/zoran/zr36057.h

Re: [Outreachy kernel] [PATCH 1/2] media: zoran: add spaces around '<<'

2021-04-08 Thread Mitali Borkar
On Thu, Apr 08, 2021 at 11:16:41PM +0200, Julia Lawall wrote: > > > On Fri, 9 Apr 2021, Mitali Borkar wrote: > > > Added spaces around '<<' operator to improve readability and meet linux > > kernel coding style. > > Reported by checkpatch

[PATCH] staging: media: meson: vdec: matched alignment with parenthesis

2021-04-08 Thread Mitali Borkar
Matched alignment with open parenthesis to meet linux kernel coding style. Reported by checkpatch Signed-off-by: Mitali Borkar --- drivers/staging/media/meson/vdec/codec_mpeg12.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/meson/vdec/codec_mpeg12.c

[PATCH 0/2] media: zoran: clean up style issues

2021-04-08 Thread Mitali Borkar
These patches make changes to clean up style issues as identified by checkpatch Mitali Borkar (2): media: zoran: add spaces around '<<' media: zoran: replace bit shifts by BIT() macro drivers/staging/media/zoran/zr36057.h | 16 +--- 1 file changed, 9 insertions(+), 7 del

[PATCH 1/2] media: zoran: add spaces around '<<'

2021-04-08 Thread Mitali Borkar
Added spaces around '<<' operator to improve readability and meet linux kernel coding style. Reported by checkpatch Signed-off-by: Mitali Borkar --- drivers/staging/media/zoran/zr36057.h | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging

[PATCH] staging: media: zoran: reduce length of a line

2021-04-08 Thread Mitali Borkar
Reduced length of a line which exceed the 100 columns limit by splitting the line into two statements and commenting it with '*' Reported by checkpatch. Signed-off-by: Mitali Borkar --- drivers/staging/media/zoran/zr36060.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

Re: [Outreachy kernel] [PATCH 2/2] media: zoran: replace bit shifts by BIT() macro

2021-04-08 Thread Mitali Borkar
On Fri, Apr 09, 2021 at 12:10:06AM +0200, Julia Lawall wrote: > > > On Fri, 9 Apr 2021, Mitali Borkar wrote: > > > On Thu, Apr 08, 2021 at 11:15:07PM +0200, Julia Lawall wrote: > > > > > > > > > On Fri, 9 Apr 2021, Mitali Borkar wrote: > >

Re: [Outreachy kernel] [PATCH 2/2] media: zoran: replace bit shifts by BIT() macro

2021-04-08 Thread Mitali Borkar
On Thu, Apr 08, 2021 at 11:15:07PM +0200, Julia Lawall wrote: > > > On Fri, 9 Apr 2021, Mitali Borkar wrote: > > > Added #include and replaced bit shifts by BIT() macro. > > This BIT() macro from linux/bitops.h is used to define ZR36057_VFESPFR_* > > bitmas

[PATCH] staging: media: zoran: add '*' in subsequent line

2021-04-08 Thread Mitali Borkar
Added '*' in susbsequent lines for block comments to meet linux kernel coding style. Signed-off-by: Mitali Borkar --- drivers/staging/media/zoran/zr36050.c | 34 +-- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/drivers/staging/media/zoran/zr36050.c b

[PATCH v2] staging: media: zoran: moved statement to next line with '*'

2021-04-09 Thread Mitali Borkar
Moved the statement to next line and added '*' before it to meet linux kernel coding style for long(multi-line) comments. Signed-off-by: Mitali Borkar --- Changes from v1:- made style changes according to linux kernel coding style for long comments. drivers/staging/media/zoran/zr36060.c | 3

[PATCH v3] staging: media: zoran: remove and move statement in next line with '*'

2021-04-09 Thread Mitali Borkar
Removed and moved statement in line in long(multi-line) comments and added '*' before it to meet linux kernel coding style for long (multi-line) comments Signed-off-by: Mitali Borkar --- Changes from v2:- made style changes in code according to linux kernel coding style for long comments

[PATCH v2] staging: media: zoran: remove and add '*' in long(multi-line) comments

2021-04-09 Thread Mitali Borkar
Added '*' before every line inside long(multi-line) comments. Removed '*/' from end of the comment line and added to next line as per linux kernel coding style. Aligned '*' accordingly to make code neater. Signed-off-by: Mitali Borkar --- Changes from v1:- Changes made in code according

[PATCH] staging: rtl8712: matched alignment with open parenthesis

2021-04-07 Thread Mitali Borkar
Aligned arguments with open parenthesis to meet linux kernel coding style Reported by checkpatch Signed-off-by: Mitali Borkar --- drivers/staging/rtl8712/usb_ops.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8712/usb_ops.h b/drivers/staging

[PATCH] staging: rtl8712: removed extra blank line

2021-04-07 Thread Mitali Borkar
Removed an extra blank line so that only one blank line is present in between two functions which separates them out. Reported by checkpatch Signed-off-by: Mitali Borkar --- drivers/staging/rtl8712/rtl8712_wmac_regdef.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/rtl8712

[PATCH] staging: rtl8712: removed unnecessary blank line

2021-04-08 Thread Mitali Borkar
Cleanup patch for CHECK: blank lines aren't necessary after an open brace '{' Reported by checkpatch Signed-off-by: Mitali Borkar --- drivers/staging/rtl8712/usb_intf.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8712/usb_intf.c b/drivers

[PATCH] staging: rtl8712: added spaces around '+'

2021-04-08 Thread Mitali Borkar
Clean up Check:spaces preferred around that '+' (ctx:VxV) Reported by checkpatch Signed-off-by: Mitali Borkar --- drivers/staging/rtl8712/wlan_bssdef.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8712/wlan_bssdef.h b/drivers/staging/rtl8712

Subject: [PATCH v2] staging: media: meson: vdec: declare u32 as static const appropriately

2021-04-13 Thread Mitali Borkar
Declared 32 bit unsigned int as static constant inside a function appropriately. Reported-by: kernel test robot Signed-off-by: Mitali Borkar --- Changes from v1:- Rectified the mistake by declaring u32 as static const properly. drivers/staging/media/meson/vdec/codec_h264.c | 4 ++-- 1 file

[PATCH v2 0/4] staging: media: intel-ipu3: Cleanup patchset for style issues

2021-04-12 Thread Mitali Borkar
Changes from v1:- Dropped patches 1/6 and 2/6 and compiled this as a patchset of 4 patches. [PATCH 1/4]:- No changes. [PATCH 2/4]:- No changes. [PATCH 3/4]:- Reduced length of a line under 80 characters. This was patch 5/6 previously. [PATCH 4/4]:- No changes. Mitali Borkar (4): staging: media

[PATCH v2 2/4] staging: media: intel-ipu3: reduce length of line

2021-04-12 Thread Mitali Borkar
Reduced length of line as it was exceeding 100 characters by removing comments from same line and adding it to previous line. This makes code neater, and meets linux kernel coding style. Reported by checkpatch. Signed-off-by: Mitali Borkar --- Changes from v1:- No changes. drivers/staging

[PATCH v2 1/4] staging: media: intel-ipu3: remove unnecessary blank line

2021-04-12 Thread Mitali Borkar
Removed an unnecessary blank line to meet linux kernel coding style. Reported by checkpatch.pl Signed-off-by: Mitali Borkar --- Changes from v1:- No changes. drivers/staging/media/ipu3/include/intel-ipu3.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/media/ipu3/include

[PATCH v2 4/4] staging: media: intel-ipu3: remove space before tabs

2021-04-12 Thread Mitali Borkar
Removed unnecessary space before tabs to adhere to linux kernel coding style. Reported by checkpatch. Signed-off-by: Mitali Borkar --- Changes from v1:- No changes. drivers/staging/media/ipu3/include/intel-ipu3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

[PATCH v2 3/4] staging: media: intel-ipu3: reduce length of line

2021-04-12 Thread Mitali Borkar
Reduced length of the line under 80 characters to meet linux-kernel coding style. Signed-off-by: Mitali Borkar --- Changes from v1:- Reduced length of the line under 80 characters drivers/staging/media/ipu3/include/intel-ipu3.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

Re: [PATCH] staging: rtl8188eu: replaced msleep() by usleep_range()

2021-04-12 Thread Mitali Borkar
On Mon, Apr 12, 2021 at 08:19:02AM +0200, Greg KH wrote: > On Mon, Apr 12, 2021 at 11:40:53AM +0530, Mitali Borkar wrote: > > Fixed the warning:-msleep < 20ms can sleep for up to 20ms by replacing > > msleep(unsigned long msecs) by usleep_range(unsigned long min, unsi

[PATCH] staging: rtl8188eu: replaced msleep() by usleep_range()

2021-04-12 Thread Mitali Borkar
Fixed the warning:-msleep < 20ms can sleep for up to 20ms by replacing msleep(unsigned long msecs) by usleep_range(unsigned long min, unsigned long max) in usecs as msleep(1ms~20ms) can sleep for upto 20 ms. Signed-off-by: Mitali Borkar --- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c

Re: [PATCH v2 4/5] staging: rtl8192e: rectified spelling mistake and replace memcmp with ether_oui_equal

2021-04-15 Thread Mitali Borkar
On Wed, Apr 14, 2021 at 10:16:59AM +0200, Greg KH wrote: > On Wed, Apr 14, 2021 at 12:26:01PM +0530, Mitali Borkar wrote: > > Added a generic function of static inline bool in > > include/linux/etherdevice.h to replace memcmp with > > ether_oui_equal throughout the exe

Re: [PATCH v2 4/5] staging: rtl8192e: rectified spelling mistake and replace memcmp with ether_oui_equal

2021-04-15 Thread Mitali Borkar
On Wed, Apr 14, 2021 at 10:55:25AM +0300, Dan Carpenter wrote: > On Wed, Apr 14, 2021 at 12:26:01PM +0530, Mitali Borkar wrote: > > Added a generic function of static inline bool in > > include/linux/etherdevice.h to replace memcmp with > > ether_oui_equal throughout the exe

Re: [PATCH v4 2/2] staging: media: zoran: add BIT() macro and align code

2021-04-15 Thread Mitali Borkar
On Wed, Apr 14, 2021 at 12:38:41PM +0200, z...@gentoo.org wrote: > Am 13.04.21 um 21:50 schrieb Mitali Borkar: > > Added #include and replaced bit shifts by BIT() macro. > > This BIT() macro from linux/bitops.h is used to define ZR36057_VFESPFR_* > > bitmasks. >

[PATCH v4 1/3] staging: rtl8192e: remove parentheses around boolean expression

2021-04-12 Thread Mitali Borkar
Removed unnecessary parentheses around '!xyz' boolean expression as '!' has higher precedance than '||' Signed-off-by: Mitali Borkar --- Changes from v3:- No changes. Changes from v2:- Modified subject description. Changes has been made in v3. Changes from v1:- Removed unnecessary parentheses

[PATCH v4 2/3] staging: rtl8192e: remove unnecessary ftrace-like logging

2021-04-12 Thread Mitali Borkar
Removed unncessary ftrace-like logging by simply deleting that statement as we have other modes of logging like ftrace. Reported by checkpatch. Signed-off-by: Mitali Borkar --- Changes from v3:- No changes. Changes from v2:- No changes. Changes from v1:- No changes. drivers/staging/rtl8192e

[PATCH v2 0/2] staging: vc04_services: cleanup patchset for style issues

2021-04-12 Thread Mitali Borkar
Changes from v1:- Threaded mails properly and changed the subject line to match prefix on patches. [PATCH 1/2]:- No changes. [PATCH 2/2]:- No changes. Mitali Borkar (2): staging: vc04_services: remove trailing whitespace staging: vc04_services: rectify spelling mistake drivers/staging

[PATCH v4 3/3] staging: rtl8192e: remove unnecessary parentheses

2021-04-12 Thread Mitali Borkar
Removed unnecessary parentheses because they must be used only when it is necessary or they improve readability. Reported by checkpatch. Signed-off-by: Mitali Borkar --- Changes from v3:- No changes. Changes from v2:- Rectified spelling mistake in subject description. Changes has been made

[PATCH v2 2/2] staging: vc04_services: rectify spelling mistake

2021-04-12 Thread Mitali Borkar
Corrected the misspelled word. Reported by checkpatch. Signed-off-by: Mitali Borkar --- Changes from v1:- No changes. drivers/staging/vc04_services/interface/TODO | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/vc04_services/interface/TODO b/drivers

[PATCH v2 1/2] staging: vc04_services: remove trailing whitespace

2021-04-12 Thread Mitali Borkar
Removed trailing whitespace to adhere to linux kernel coding style. Reported by checkpatch. Signed-off-by: Mitali Borkar --- Changes from v1:- No changes. drivers/staging/vc04_services/interface/TODO | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging

[PATCH v4 0/3] staging: rtl8192e: cleanup patchset for style issues

2021-04-12 Thread Mitali Borkar
]:- Rectified spelling mistake in subject description. Changes has been made in v3. Changes from v1:- [PATCH 1/3]:- Removed unnecessary parentheses around boolean expression. Changes has been made in v2. [PATCH 2/3]:- No changes. [PATCH 3/3]:- No changes. Mitali Borkar (6): staging: rtl8192e

[PATCH] staging: rtl8192e: remove unnecesasry f-trace like logging

2021-04-09 Thread Mitali Borkar
Fixed Check: Remove unnecessary f-trace like logging by simply deleting that statement as we have other modes of logging like ftrace. Reported by checkpatch. Signed-off-by: Mitali Borkar --- drivers/staging/rtl8192e/rtl819x_TSProc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers

Re: [PATCH 4/6] staging: rtl8192e: matched alignment with open parenthesis

2021-04-09 Thread Mitali Borkar
On Fri, Apr 09, 2021 at 07:07:09PM -0700, Joe Perches wrote: > On Sat, 2021-04-10 at 07:05 +0530, Mitali Borkar wrote: > > Matched the alignment with open parenthesis to meet linux kernel coding > > style. > > Reported by checkpatch. > [] > > diff --git a/drivers/sta

Re: [Outreachy kernel] [PATCH v2 2/2] staging: media: zoran: remove and add comments; align code

2021-04-09 Thread Mitali Borkar
On Fri, Apr 09, 2021 at 10:12:12PM +0200, Julia Lawall wrote: > > > On Sat, 10 Apr 2021, Mitali Borkar wrote: > > > Removed comments from the same line and added them to new line above the > > blocks, aligned everything properly by using tabs to make code neater >

Re: [Outreachy kernel] [PATCH v2 1/2] media: zoran: add spaces around '<<'

2021-04-09 Thread Mitali Borkar
On Fri, Apr 09, 2021 at 10:40:25PM +0200, Julia Lawall wrote: > > > On Sat, 10 Apr 2021, Mitali Borkar wrote: > > > No changes required in this patch. > > In v1:- Added spaces around '<<' operator to improve readability and meet > > linux kernel coding &g

[PATCH 5/6] staging: rtl8192e: removed multiple blank lines

2021-04-09 Thread Mitali Borkar
Removed multiple blank lines to make code better and neater. Reported by checkpatch. Signed-off-by: Mitali Borkar --- drivers/staging/rtl8192e/rtl819x_HTProc.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rtl8192e

[PATCH 4/6] staging: rtl8192e: matched alignment with open parenthesis

2021-04-09 Thread Mitali Borkar
Matched the alignment with open parenthesis to meet linux kernel coding style. Reported by checkpatch. Signed-off-by: Mitali Borkar --- drivers/staging/rtl8192e/rtl819x_HTProc.c | 20 ++-- drivers/staging/rtl8192e/rtl819x_TSProc.c | 18 +- 2 files changed, 19

[PATCH 3/6] staging: rtl8192e: remove unncessary blank line after brace

2021-04-09 Thread Mitali Borkar
Removed an exra blank line after close brace '{' as it was not necessary. Reported by checkpatch Signed-off-by: Mitali Borkar --- drivers/staging/rtl8192e/rtl819x_HTProc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rtl8192e

[PATCH 6/6] staging: rtl8192e: align statements properly

2021-04-09 Thread Mitali Borkar
Aligned the statements properly in one line to make code neater and to improve readability. Signed-off-by: Mitali Borkar --- drivers/staging/rtl8192e/rtl819x_HTProc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers

[PATCH 0/3] staging: rtl8192e: cleanup patchset for style issues

2021-04-09 Thread Mitali Borkar
These patches fix the cleanup style issues identified by checkpatch Mitali Borkar (3): staging: rtl8192e: replace comparison to NULL by boolean expression staging: rtl8192e: remove unnecessary ftrace-like logging staging: rtl8192e: remove unncessary parentheses drivers/staging/rtl8192e

[PATCH 2/3] staging: rtl8192e: remove unnecessary ftrace-like logging

2021-04-09 Thread Mitali Borkar
Removed unncessary ftrace-like logging by simply deleting that statement as we have other modes of logging like ftrace. Reported by checkpatch. Signed-off-by: Mitali Borkar --- drivers/staging/rtl8192e/rtl819x_HTProc.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/staging

[PATCH 1/3] staging: rtl8192e: replace comparison to NULL by boolean

2021-04-09 Thread Mitali Borkar
Replaced comparison to NULL by boolean expressions (here used boolean negations). This improves readability of code. Reported by checkpatch. Signed-off-by: Mitali Borkar --- drivers/staging/rtl8192e/rtl819x_HTProc.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH 3/3] staging: rtl8192e: remove unncessary parentheses

2021-04-09 Thread Mitali Borkar
Removed unnecessary parentheses because they must be used only when it is necessary or they improve readability. Reported by checkpatch. Signed-off-by: Mitali Borkar --- drivers/staging/rtl8192e/rtl819x_HTProc.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH v2] staging: rtl8192e: fixed pointer error by adding '*'

2021-04-10 Thread Mitali Borkar
Fixed Comparison to NULL can be written as '!...' by replacing it with simpler form i.e. boolean expression. This makes code more readable alternative. Reported by checkpatch. Signed-off-by: Mitali Borkar --- Changes from v1:- added pointer to the function, which was missed during fixing v1

Re: [PATCH v2] staging: media: meson: vdec: declare u32 as const and static const

2021-04-12 Thread Mitali Borkar
On Mon, Apr 12, 2021 at 11:17:22AM +0200, Hans Verkuil wrote: > On 10/04/2021 21:59, Mitali Borkar wrote: > > Declared 32 bit unsigned int as static constant inside a function and > > replaced u32[] {x,y} as canvas1, canvas2 in codec_mpeg12.c > > This indicates the va

Re: [PATCH v2] staging: rtl8192e: fixed pointer error by adding '*'

2021-04-10 Thread Mitali Borkar
On Sat, Apr 10, 2021 at 03:14:24PM +0200, Greg KH wrote: > On Sat, Apr 10, 2021 at 06:30:38PM +0530, Mitali Borkar wrote: > > Fixed Comparison to NULL can be written as '!...' by replacing it with > > simpler form i.e. boolean expression. This makes code more readable > > alte

[PATCH] staging: rtl8192e: replace comparison to NULL by bool

2021-04-09 Thread Mitali Borkar
Fixed Comparison to NULL can be written as '!...' by replacing it with simpler form i.e boolean expression. This makes code more readable alternative. Reported by checkpatch. Signed-off-by: Mitali Borkar --- drivers/staging/rtl8192e/rtl819x_TSProc.c | 6 +++--- 1 file changed, 3 insertions

[PATCH 1/6] staging: rtl8192e: add spaces around binary operators

2021-04-09 Thread Mitali Borkar
Added spaces around binary operators like '+', '*', '|', '-', '&', to improve readability and to meet linux kernel coding style. Signed-off-by: Mitali Borkar --- drivers/staging/rtl8192e/rtl819x_HTProc.c | 8 drivers/staging/rtl8192e/rtl819x_TSProc.c | 8 2 files change

[PATCH 0/6] staging: rtl8192e: cleanup patchset for style issues

2021-04-09 Thread Mitali Borkar
This patches fix the cleanup style issues. Mitali Borkar (6): staging: rtl8192e: add spaces around binary operators staging: rtl8192e: remove unnecessary blank line before brace staging: rtl8192e: remove unncessary blank line after brace staging: rtl8192e: matched alignment with open

[PATCH 2/6] staging: rtl8192e: remove unnecessary blank line before brace

2021-04-09 Thread Mitali Borkar
Removed an extra blank line before close brace as it was not necessary. Reported by checkpatch. Signed-off-by: Mitali Borkar --- drivers/staging/rtl8192e/rtl819x_HTProc.c | 2 -- drivers/staging/rtl8192e/rtl819x_TSProc.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/drivers/staging

Re: [Outreachy kernel] [PATCH] staging: rtl8192e: replace comparison to NULL by bool

2021-04-10 Thread Mitali Borkar
On Sat, Apr 10, 2021 at 02:10:38PM +0200, Greg KH wrote: > On Sat, Apr 10, 2021 at 02:08:30PM +0200, Julia Lawall wrote: > > > > > > On Sat, 10 Apr 2021, Mitali Borkar wrote: > > > > > Fixed Comparison to NULL can be written as '!...' by replacing it

[PATCH v3] staging: rtl8192e: fixed pointer error by adding '*'

2021-04-10 Thread Mitali Borkar
Fixed pointer error by adding '*' to the function. Reported by Julia. Signed-off-by: Mitali Borkar --- Changes from v2:- modified patch body but writing commit message clearly. Changes from v1:- added pointer to the function. drivers/staging/rtl8192e/rtl819x_TSProc.c | 2 +- 1 file changed, 1

Re: [Outreachy kernel] [PATCH v2 2/2] staging: media: zoran: remove and add comments; align code

2021-04-10 Thread Mitali Borkar
On Sat, Apr 10, 2021 at 01:56:24PM +0200, Julia Lawall wrote: > > > On Sat, 10 Apr 2021, Mitali Borkar wrote: > > > On Fri, Apr 09, 2021 at 10:12:12PM +0200, Julia Lawall wrote: > > > > > > > > > On Sat, 10 Apr 2021, Mitali Borkar wrote: >

Subject: [PATCH] staging: media: meson: vdec: declare u32 as static const

2021-04-12 Thread Mitali Borkar
Declared 32 bit unsigned int as static constant inside a function and replaced u32[] {x,y} as canvas3, canvas4 in codec_h264.c This indicates the value of canvas indexes will remain constant throughout execution. Signed-off-by: Mitali Borkar --- drivers/staging/media/meson/vdec/codec_h264.c

Re: [Outreachy kernel] Re: [PATCH 2/6] staging: media: intel-ipu3: preferred __aligned(size) over __attribute__aligned(size)

2021-04-12 Thread Mitali Borkar
On Mon, Apr 12, 2021 at 12:43:15PM +0300, Sakari Ailus wrote: > Hi Mitali, > > On Mon, Apr 12, 2021 at 04:38:59AM +0530, Mitali Borkar wrote: > > This patch fixes the warning identified by checkpatch.pl by replacing > > __attribute__aligned(size) with __aligned(siz

[PATCH v4] staging: rtl8192e: fixed pointer error by adding '*'

2021-04-10 Thread Mitali Borkar
Fixed pointer error by adding '*' to the function. Signed-off-by: Mitali Borkar Reported-by: Julia Lawall --- Changes from v3:- added reported by tag in proper manner. Changes from v2:- changed the patch nody to describe changes. Changes from v1:- added pointer to the function. drivers

[PATCH v2] staging: media: meson: vdec: declare u32 as const and static const

2021-04-10 Thread Mitali Borkar
reg_name as it will contain data/registry bases to write static const indexes declared above and will keep track of of contiguos registers after each reg_base. This makes code look better, neater. It improves readability. Signed-off-by: Mitali Borkar --- drivers/staging/media/meson/vdec/codec_mpeg12.c

[PATCH v3 0/2] staging: media: zoran: aligned the code.

2021-04-10 Thread Mitali Borkar
This patch fix the alignment of code in proper manner Changes from v2:- Aligned the code using tabs. Changes from v1:- Aligned the code using tabs and readjusted the comments line. Mitali Borkar (2): media: zoran: add spaces around '<<' staging: media: zoran: align code appropr

[PATCH v3 1/2] media: zoran: add spaces around '<<'

2021-04-10 Thread Mitali Borkar
Signed-off-by: Mitali Borkar --- Changes from v2:- No changes. Changes from v1:- NO changes. drivers/staging/media/zoran/zr36057.h | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/media/zoran/zr36057.h b/drivers/staging/media/zoran/zr36057.h

[PATCH v3 2/2] staging: media: zoran: align code appropriately

2021-04-10 Thread Mitali Borkar
Aligned the code properly by using tabs to make code neater and improve readability. Signed-off-by: Mitali Borkar --- drivers/staging/media/zoran/zr36057.h | 108 +- 1 file changed, 54 insertions(+), 54 deletions(-) diff --git a/drivers/staging/media/zoran/zr36057.h b

Re: [PATCH v2 3/4] staging: media: intel-ipu3: reduce length of line

2021-04-13 Thread Mitali Borkar
On Tue, Apr 13, 2021 at 01:44:32PM +0300, Sakari Ailus wrote: > On Tue, Apr 13, 2021 at 04:13:04PM +0530, Mitali Borkar wrote: > > On Tue, Apr 13, 2021 at 01:01:34PM +0300, Sakari Ailus wrote: > > > Hi Mitali, > > > > > > Thanks for the update. > > &

Re: [PATCH 4/6] staging: rtl8192e: matched alignment with open parenthesis

2021-04-13 Thread Mitali Borkar
On Fri, Apr 09, 2021 at 07:31:53PM -0700, Joe Perches wrote: > On Sat, 2021-04-10 at 07:55 +0530, Mitali Borkar wrote: > > On Fri, Apr 09, 2021 at 07:07:09PM -0700, Joe Perches wrote: > > > On Sat, 2021-04-10 at 07:05 +0530, Mitali Borkar wrote: > > > > Matched the a

Re: Subject: [PATCH v2] staging: media: meson: vdec: declare u32 as static const appropriately

2021-04-13 Thread Mitali Borkar
On Tue, Apr 13, 2021 at 09:26:01AM +0200, Hans Verkuil wrote: > On 13/04/2021 08:27, Mitali Borkar wrote: > > Declared 32 bit unsigned int as static constant inside a function > > appropriately. > > > > Reported-by: kernel test robot > > Signed-off-by: Mitali

[PATCH v3 4/4] staging: media: intel-ipu3: remove space before tabs

2021-04-13 Thread Mitali Borkar
Removed unnecessary space before tabs to adhere to linux kernel coding style. Reported by checkpatch. Signed-off-by: Mitali Borkar --- Changes from v2:- No changes. Changes from v1:- No changes. drivers/staging/media/ipu3/include/intel-ipu3.h | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v3 3/4] staging: media: intel-ipu3: line should not end with '['

2021-04-13 Thread Mitali Borkar
Fixed the issue of line should not end with '[' by moving argument from next line to line ending with '[' and made it under 80 characters. Reported by checkpatch. Signed-off-by: Mitali Borkar --- Changes from v2:- No changes Changes from v1:- Made line length under 80 characters drivers

[PATCH v3 0/4] staging: media: intel-ipu3: Cleanup patchset for style issues

2021-04-13 Thread Mitali Borkar
. This was patch 5/6 previously. [PATCH 4/4]:- No changes. Mitali Borkar (4): staging: media: intel-ipu3: remove unnecessary blank line staging: media: intel-ipu3: reduce length of line staging: media: intel-ipu3: line should not end with '[' staging: media: intel-ipu3: remove space before tabs

[PATCH v3 2/4] staging: media: intel-ipu3: reduce length of line

2021-04-13 Thread Mitali Borkar
Reduced length of line as it was exceeding 100 characters by removing comments from same line and adding it to previous line. This makes code neater, and meets linux kernel coding style. Reported by checkpatch. Signed-off-by: Mitali Borkar --- Changes from v2:- No changes. Changes from v1

[PATCH v3 1/4] staging: media: intel-ipu3: remove unnecessary blank line

2021-04-13 Thread Mitali Borkar
Removed an unnecessary blank line to meet linux kernel coding style. Reported by checkpatch.pl Signed-off-by: Mitali Borkar --- Changes from v2:- No changes. Changes from v1:- NO changes. drivers/staging/media/ipu3/include/intel-ipu3.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers

[PATCH v3] staging: media: meson: vdec: declare u32 as static const

2021-04-13 Thread Mitali Borkar
Declared 32 bit unsigned int as static constant inside a function and replaced u32[] {x,y} as canvas3, canvas4 in codec_h264.c This indicates the value of canvas indexes will remain constant throughout execution. Reported-by: kernel test robot Signed-off-by: Mitali Borkar --- Changes from v2

[PATCH v3] staging: media: zoran: reduce length of a line

2021-04-13 Thread Mitali Borkar
Reduced length of a line which exceed the 100 columns limit by splitting the line into two statements and commenting it with '*' to meet linux kernel coding style for long(multi-line) comments. Reported by checkpatch. Signed-off-by: Mitali Borkar --- Changes from v2:- Rebased this patch

[PATCH v4] staging: media: meson: vdec: declare u32 as static const

2021-04-13 Thread Mitali Borkar
Declared 32 bit unsigned int as static constant inside a function and replaced u32[] {x,y} as canvas3, canvas4 in codec_h264.c This indicates the value of canvas indexes will remain constant throughout execution. Signed-off-by: Mitali Borkar --- Changes from v3:- Made commit message under 75

Subject: [PATCH v4] staging: media: zoran: add '*' in long(multi-line) comments

2021-04-13 Thread Mitali Borkar
Added '*' before every line inside long(multi-line) comments. Removed '*/' from end of the comment line and added to next line as per linux kernel coding style. Aligned '*' accordingly to make code neater. Signed-off-by: Mitali Borkar --- Changes from v3:- Rebased this patch and made changes

[PATCH v4 0/2] staging: media: zoran: Cleanup patchset for style issues in zr36057.h

2021-04-13 Thread Mitali Borkar
Changes from v3:- Rebased these patches and made changes against mainline code. Changes from v2:- [PATCH 1/2]:- No changes. [PATCH 2/2]:- Aligned the code using tabs. Changes from v1:- [PATCH 1/2]:- No changes. [PATCH 2/2]:- Aligned the code using tabs and readjusted the comments line. Mitali

[PATCH v4 1/2] staging: media: zoran: add spaces around '<<' operator

2021-04-13 Thread Mitali Borkar
Added spaces around '<<' operator to improve readability and meet linux kernel coding style. Reported by checkpatch Signed-off-by: Mitali Borkar --- Changes from v3:- No changes. Changes from v2:- No changes. Changes from v1:- No changes. drivers/staging/media/zoran/zr36057.

[PATCH v4 2/2] staging: media: zoran: add BIT() macro and align code

2021-04-13 Thread Mitali Borkar
everything properly by using tabs to make code neater and improve readability. Reported by checkpatch. Signed-off-by: Mitali Borkar --- Changes from v3:- No changes. Changes from v2:- Aligned the code using tabs. Changes from v1:- Aligned the code using tabs and readjusted the comments line. drivers

Re: [PATCH v3 4/4] staging: media: intel-ipu3: remove space before tabs

2021-04-13 Thread Mitali Borkar
On Tue, Apr 13, 2021 at 09:17:12PM +0300, Dan Carpenter wrote: > On Tue, Apr 13, 2021 at 08:59:34PM +0530, Mitali Borkar wrote: > > Removed unnecessary space before tabs to adhere to linux kernel coding > > style. > > Reported by checkpatch. > > >

Re: [PATCH v5 0/3] staging: rtl8192e: Cleanup patchset for style issues in rtl819x_HTProc.c

2021-04-13 Thread Mitali Borkar
On Tue, Apr 13, 2021 at 09:52:48AM +0200, Greg KH wrote: > On Tue, Apr 13, 2021 at 08:55:03AM +0530, Mitali Borkar wrote: > > Changes from v4:- > > [PATCH v4 1/3]:- No changes. > > [PATCH v4 2/3]:- No changes. > > [PATCH V4 3/3]:- Removed casts and parentheses. >

Re: [PATCH v2 3/4] staging: media: intel-ipu3: reduce length of line

2021-04-13 Thread Mitali Borkar
On Tue, Apr 13, 2021 at 01:01:34PM +0300, Sakari Ailus wrote: > Hi Mitali, > > Thanks for the update. > > On Tue, Apr 13, 2021 at 10:46:06AM +0530, Mitali Borkar wrote: > > Reduced length of the line under 80 characters to meet linux-kernel > > coding style. > >

[PATCH v4 3/3] staging: rtl8192e: remove unnecessary parentheses

2021-04-11 Thread Mitali Borkar
Removed unnecessary parentheses because they must be used only when it is necessary or they improve readability. Reported by checkpatch. Signed-off-by: Mitali Borkar --- Changes from v3:- No changes. Changes from v2:- Rectified spelling mistake in subject description. Changes from v1

[PATCH v4 1/3] staging: rtl8192e: remove parentheses around boolean experssion

2021-04-11 Thread Mitali Borkar
Removed unnecessary parentheses around '!xyz' boolean expression as '!' has higher precedance than '||' Signed-off-by: Mitali Borkar --- Changes from v3:- Modified log message. Changes from v2:- Modified subject description. Changes from v1:- Removed unnecessary parentheses around boolean

[PATCH v4 2/3] staging: rtl8192e: remove unnecessary ftrace-like logging

2021-04-11 Thread Mitali Borkar
Removed unncessary ftrace-like logging by simply deleting that statement as we have other modes of logging like ftrace. Reported by checkpatch. Signed-off-by: Mitali Borkar --- Changes from v3:- No changes. Changes from v2:- No changes. Changes from v1:- NO changes. drivers/staging/rtl8192e

[PATCH v4 0/3] staging: rtl8192e: modified log message

2021-04-11 Thread Mitali Borkar
description. Changes from v1:- [PATCH 1/3]:- Removed unnecessary parentheses around boolean expression. Changes has been made in v2. [PATCH 2/3]:- No changes. [PATCH 3/3]:- No changes. Mitali Borkar (3): staging: rtl8192e: remove parentheses around boolean expression staging: rtl8192e: remove

Re: [PATCH] staging: media: zoran: reduce length of a line

2021-04-11 Thread Mitali Borkar
On Fri, Apr 09, 2021 at 09:26:48AM +0200, Hans Verkuil wrote: > Hi Mitali, > > Something to improve: > > On 08/04/2021 23:21, Mitali Borkar wrote: > > Reduced length of a line which exceed the 100 columns limit by splitting > > the line into two statements and commenti

Re: [PATCH v2] staging: media: zoran: remove and add '*' in long(multi-line) comments

2021-04-11 Thread Mitali Borkar
On Fri, Apr 09, 2021 at 12:53:35PM +0200, Hans Verkuil wrote: > On 09/04/2021 12:49, Mitali Borkar wrote: > > Added '*' before every line inside long(multi-line) comments. Removed > > '*/' from end of the comment line and added to next line as per linux > > kernel

[PATCH v2 1/3] staging: rtl8192e: remove unnecessary parentheses

2021-04-10 Thread Mitali Borkar
Removed unnecessary parentheses around '!xyz' as '!' has higher precedance than '||' Signed-off-by: Mitali Borkar --- Changes from v1:- removed unnecessary parentheses around boolean expression drivers/staging/rtl8192e/rtl819x_HTProc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH v2 2/3] staging: rtl8192e: remove unnecessary ftrace-like logging

2021-04-10 Thread Mitali Borkar
Removed unncessary ftrace-like logging by simply deleting that statement as we have other modes of logging like ftrace. Reported by checkpatch. Signed-off-by: Mitali Borkar --- Changes from v1:- No changes made. drivers/staging/rtl8192e/rtl819x_HTProc.c | 4 1 file changed, 4 deletions

[PATCH v2] staging: rtl8712: add spaces around '+'

2021-04-08 Thread Mitali Borkar
Added spaces around '+' to improve readability and adhere to linux kernel coding style. Reported by checkpatch Signed-off-by: Mitali Borkar --- Changes from v1: No changes in the code, but only to subject description and patch body. Changed the subject decription according to PatchPhilosophy

Re: [Outreachy kernel] [PATCH] staging: rtl8712: added spaces around '+'

2021-04-08 Thread Mitali Borkar
On Thu, Apr 08, 2021 at 10:30:09AM +0200, Julia Lawall wrote: > The subject line should be in the imperative, so "add" instead of "added". > Ok Ma'am > On Thu, 8 Apr 2021, Mitali Borkar wrote: > > > Clean up Check:spaces preferred around that '+' (ctx:VxV)

Re: [PATCH 1/2] media: zoran: add spaces around '<<'

2021-04-09 Thread Mitali Borkar
On Fri, Apr 09, 2021 at 09:23:22AM +0200, Hans Verkuil wrote: > Hi Mitali, > > On 08/04/2021 22:38, Mitali Borkar wrote: > > Added spaces around '<<' operator to improve readability and meet linux > > kernel coding style. > > Reported by checkpatch >

Re: [PATCH 1/2] media: zoran: add spaces around '<<'

2021-04-09 Thread Mitali Borkar
On Fri, Apr 09, 2021 at 09:23:22AM +0200, Hans Verkuil wrote: > Hi Mitali, > > On 08/04/2021 22:38, Mitali Borkar wrote: > > Added spaces around '<<' operator to improve readability and meet linux > > kernel coding style. > > Reported by checkpatch >

[PATCH v2 0/3] staging: rtl8192e: remove unnecessary parentheses

2021-04-10 Thread Mitali Borkar
This patch fixes style issues Changes from v1:- [Patch 1/3]:- Removed unnecessary parentheses around boolean expressions [Patch 2/3]:- No changes [Patch 3/3]:- No changes Mitali Borkar (3): staging: rtl8192e: remove unnecessary parentheses staging: rtl8192e: remove unnecessary ftrace-like

[PATCH v2 3/3] staging: rtl8192e: remove unncessary parentheses

2021-04-10 Thread Mitali Borkar
Removed unnecessary parentheses because they must be used only when it is necessary or they improve readability. Reported by checkpatch. Signed-off-by: Mitali Borkar --- Changes from v1:- No changes. drivers/staging/rtl8192e/rtl819x_HTProc.c | 12 ++-- 1 file changed, 6 insertions

[PATCH v3 3/3] staging: rtl8192e: remove unnecessary parentheses

2021-04-11 Thread Mitali Borkar
Removed unnecessary parentheses because they must be used only when it is necessary or they improve readability. Reported by checkpatch. Signed-off-by: Mitali Borkar --- Changes from v2:- Rectified spelling mistake in subject description. Changes from v1:- No changes. drivers/staging

[PATCH v3 0/3] Modify subject description and rectify spelling mistake.

2021-04-11 Thread Mitali Borkar
been made in v2. [PATCH 2/3]:- No changes. [PATCH 3/3]:- No changes. Mitali Borkar (3): staging: rtl8192e: remove parentheses around boolean expression staging: rtl8192e: remove unnecessary ftrace-like logging staging: rtl8192e: remove unnecessary parentheses drivers/staging/rtl8192e

  1   2   >