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 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 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 v6 2/2] staging: rtl8192e: remove casts and parentheses

2021-04-14 Thread Mitali Borkar
Removed unnecessary (void *) cast and parentheses to meet linux kernel coding style. Signed-off-by: Mitali Borkar --- Changes from v5:- No changes. Changes from v4:- Removed unnecessary casts and parentheses. Changes from v3:- No changes. Changes from v2:- Rectified spelling mistake in subject

[PATCH v6 1/2] staging: rtl8192e: remove parentheses around boolean expression

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

[PATCH v6 0/2] staging: rtl8192e: Clean up patchset for style issues in rtl819x_HTProc.c

2021-04-14 Thread Mitali Borkar
]:- Removed unnecessary parentheses around boolean expression. Changes has been made in v2. [PATCH 2/2]:- No changes. Mitali Borkar (2): staging: rtl8192e: remove parentheses around boolean expression staging: rtl8192e: remove casts and parentheses drivers/staging/rtl8192e/rtl819x_HTProc.c | 14

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

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

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

2021-04-14 Thread Mitali Borkar
Added a generic function of static inline bool in include/linux/etherdevice.h to replace memcmp with ether_oui_equal throughout the execution. Corrected the misspelled words in this file. Signed-off-by: Mitali Borkar --- Changes from v1:- Rectified spelling mistake and replaced memcmp

[PATCH v2 3/5] staging: rtl8192e: remove unnecessary blank line after close brace

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

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

2021-04-14 Thread Mitali Borkar
Removed an extra blank line before close brace as it was not necessary. Reported by checkpatch. Signed-off-by: Mitali Borkar --- Changes from v1:- No changes. drivers/staging/rtl8192e/rtl819x_HTProc.c | 2 -- drivers/staging/rtl8192e/rtl819x_TSProc.c | 2 -- 2 files changed, 4 deletions

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

2021-04-14 Thread Mitali Borkar
Added spaces around binary operators like '+', '*', '|', '-', '&', to improve readability and to meet linux kernel coding style. Signed-off-by: Mitali Borkar --- Changes from v1:- No changes. drivers/staging/rtl8192e/rtl819x_HTProc.c | 8 drivers/staging/rtl8192e/rtl819x_TSPr

Subject: [PATCH v2 0/5] staging: rtl8192e: CLeanup patchset for style issues in rtl819x_Y.c files

2021-04-14 Thread Mitali Borkar
]:- No changes. Mitali Borkar (5): staging: rtl8192e: add spaces around binary operators staging: rtl8192e: remove unnecessary blank line before brace staging: rtl8192e: remove unnecessary blank line after close brace staging: rtl8192e: rectified spelling mistake and replace memcmp

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. > > >

[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

[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 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

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 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

[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 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 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 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 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] 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

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

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: [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 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. > >

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 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

[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 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 v5 3/3] staging: rtl8192e: remove casts and parentheses

2021-04-12 Thread Mitali Borkar
Removed unnecessary (void *) cast and parentheses to meet linux kernel coding style. Signed-off-by: Mitali Borkar --- Changes from v4:- Removed unnecessary casts and parentheses. Changes from v3:- No changes. Changes from v2:- Rectified spelling mistake in subject description. Changes has been

[PATCH v5 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 v4:- No changes. Changes from v3:- No changes. Changes from v2:- No changes. Changes from v1

[PATCH v5 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 v4:- No changes. Changes from v3:- No changes. Changes from v2:- Modified subject description. Changes has been made in v3. Changes from v1

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

2021-04-12 Thread Mitali Borkar
. 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 unnecessary ftrace-like logging staging: rtl8192e: remove casts and parentheses drivers/staging

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

2021-04-12 Thread Mitali Borkar
On Mon, Apr 12, 2021 at 01:46:54PM -0700, Joe Perches wrote: > On Mon, 2021-04-12 at 16:52 +0530, Mitali Borkar wrote: > > Removed unnecessary parentheses because they must be used only when it > > is necessary or they improve readability. > > Reported by checkpatch. > >

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

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: [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

[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 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 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 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 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 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

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

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

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

[PATCH 5/6] staging: media: intel-ipu3: line should not end with '['

2021-04-11 Thread Mitali Borkar
Fixed the issue of line should not end with '[' by moving arguments from next line to line ending with '[' Reported by checkpatch. Signed-off-by: Mitali Borkar --- drivers/staging/media/ipu3/include/intel-ipu3.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers

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

2021-04-11 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 --- drivers/staging/media/ipu3/include/intel-ipu3.h | 6

[PATCH 3/6] staging: media: intel-ipu3: remove unnecessary blank line

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

[PATCH 1/6] staging: media: intel-ipu3: replace bit shifts with BIT() macro

2021-04-11 Thread Mitali Borkar
Added #include and replaced bit shifts by BIT() macro. This BIT() macro from linux/bitops.h is used to define IPU3_UAPI_GRID_Y_START_EN and IPU3_UAPI_AWB_RGBS_THR_B_* bitmask. Use of macro is better and neater. It maintains consistency. Reported by checkpatch. Signed-off-by: Mitali Borkar

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

2021-04-11 Thread Mitali Borkar
This patch fixes the warning identified by checkpatch.pl by replacing __attribute__aligned(size) with __aligned(size) Signed-off-by: Mitali Borkar --- .../staging/media/ipu3/include/intel-ipu3.h | 74 +-- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/drivers

[PATCH 0/6] staging: media: intel-ipu3: cleanup patchset for style issues

2021-04-11 Thread Mitali Borkar
: This pacthset fixes the style issues reported by checkpatch.pl Mitali Borkar (6): staging: media: intel-ipu3: replace bit shifts with BIT() macro staging: media: intel-ipu3: preferred __aligned(size) over __attribute__aligned(size) staging: media: intel-ipu3: remove unnecessary blank line

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

2021-04-11 Thread Mitali Borkar
Corrected the misspelled word. Reported by checkpatch. Signed-off-by: Mitali Borkar --- 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/staging/vc04_services/interface/TODO

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

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

[PATCH 0/2] remove whitespace and rectify spelling error

2021-04-11 Thread Mitali Borkar
This patch fixes whitespace and spelling mistake issue. Mitali Borkar (2): staging: vc04_services: remove trailing whitespace staging: vc04_services: rectify spelling mistake drivers/staging/vc04_services/interface/TODO | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.30.2

[PATCH] staging: rts5208: remove unnecessary ftrace-like logging

2021-04-11 Thread Mitali Borkar
Removed unnecessary 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/rts5208/xd.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/rts5208/xd.c b

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 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 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 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 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

[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 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 v2:- No changes. Changes from v1:- NO changes. drivers/staging/rtl8192e/rtl819x_HTProc.c | 4 1

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

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 v2:- Modified subject description. Changes from v1:- Removed unnecessary parentheses around boolean expression. Changes has been made in v2

[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

[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 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 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 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] 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 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

[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 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 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 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: [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

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: >

[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: [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

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

[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 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 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 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 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

[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

  1   2   >