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
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
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
>
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
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
and improve readability.
Signed-off-by: Mitali Borkar
---
drivers/staging/media/zoran/zr36057.h | 293 ++
1 file changed, 162
No changes required in this patch.
In v1:- Added spaces around '<<' operator to improve readability and meet linux
kernel coding
style
Signed-off-by: Mitali Borkar
---
Changes from v1:- No changes required in this patch. Below is the git
diff of v1.
drivers/staging/media/zoran/zr3
This patch fixes the cleanup style issues.
Changes from v1:-
In [PATCH v2 1/2]:- No changes made/required.
In [PATCH v2 2/2]:- Aligned the code using tabs and spaces and
readjusted comment line.
Mitali Borkar (2):
media: zoran: add spaces around '<<'
staging: media: zoran: remove a
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
>
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
>
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
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
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
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:
> >
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
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
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
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
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
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
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
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
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
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)
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
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
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
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
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
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
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
101 - 130 of 130 matches
Mail list logo