From: Guoqing Jiang <guoqing.jiang@linux.dev>
To: heinzm@redhat.com, linux-raid@vger.kernel.org
Cc: ncroxon@redhat.com, xni@redhat.com, dkeefe@redhat.com
Subject: Re: [PATCH 00/34] address various checkpatch.pl requirements
Date: Tue, 7 Mar 2023 09:18:42 +0800 [thread overview]
Message-ID: <5be00f6c-22ee-1af3-c5ed-d92863d7f442@linux.dev> (raw)
In-Reply-To: <cover.1678136717.git.heinzm@redhat.com>
On 3/7/23 05:27, heinzm@redhat.com wrote:
> From: heinzm <heinzm@redhat.com>
>
> This patch series addresses checkpatch.pl reuirements.
>
> It is grouped into patches addressing errors first then warnings.
> Each patch fixes flaws in one semantical respect (e.g. fix spaces).
>
> Series passed upstream regression tests succesfully.
>
> Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
> Reviewed-by: Nigel Croxon <ncroxon@redhat.com>
> Reviewed-by: Xiao Ni <xni@redhat.com>
> Tested-by: Nigel Croxon <ncroxon@redhat.com>
> Tested-by: Xiao Ni <xni@redhat.com>
>
> Heinz Mauelshagen (34):
> md: fix required/prohibited spaces [ERROR]
> md: fix 'foo*' and 'foo * bar' [ERROR]
> md: fix EXPORT_SYMBOL() to follow its functions immediately [ERROR]
> md: adjust braces on functions/structures [ERROR]
> md: correct code indent [ERROR]
> md: move trailing statements to next line [ERROR]
> md: consistent spacing around operators [ERROR]
> md: don't initialize statics/globals to 0/false [ERROR]
> md: else should follow close curly brace [ERROR]
> md: remove trailing whitespace [ERROR]
> md: do not use assignment in if condition [ERROR]
> md: add missing blank line after declaration [WARNING]
> md: space prohibited between function and opening parenthesis [WARNING]
> md: prefer seq_put[cs]() to seq_printf() |WARNING]
> md: avoid multiple line dereference [WARNING}
> md: fix block comments [WARNING]
> md: add missing function identifier names to function definition arguments [WARNING]
> md: avoid redundant braces in single line statements [WARNING]
> md: place constant on the right side of a test [WARNING]
> md: avoid pointless filenames in files [WARNING]
> md: avoid useless else after break or return [WARNING]
> md: don't indent labels [WARNING]
> md: fix code indent for conditional statements [WARNING]
> md: prefer octal permissions [WARNING]
> md: remove bogus IS_ENABLED() macro [WARNING]
> md autodetect: correct placement of __initdata [WARNING]
> md: prefer using "%s...", __func__ [WARNING]
> md pq: adjust __attribute__ [WARNING]
> md: prefer 'unsigned int' [WARNING]
> md: prefer kmap_local_page() instead of deprecated kmap_atomic() [WARNING]
> md raid5: prefer 'int' instead of 'signed' [WARNING]
> md: prefer kvmalloc_array() with multiply [WARNING]
> md: avoid splitting quoted strings [WARNING]
> md: avoid return in void functions [WARNING]
Most of them do have empty log ...
And I don't think it makes sense to run checkpatch on old code.
Thanks,
Guoqing
next prev parent reply other threads:[~2023-03-07 1:27 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-06 21:27 [PATCH 00/34] address various checkpatch.pl requirements heinzm
2023-03-06 21:27 ` [PATCH 01/34] md: fix required/prohibited spaces [ERROR] heinzm
2023-03-06 21:27 ` [PATCH 02/34] md: fix 'foo*' and 'foo * bar' [ERROR] heinzm
2023-03-06 21:27 ` [PATCH 03/34] md: fix EXPORT_SYMBOL() to follow its functions immediately [ERROR] heinzm
2023-03-06 21:27 ` [PATCH 04/34] md: adjust braces on functions/structures [ERROR] heinzm
2023-03-06 21:27 ` [PATCH 05/34] md: correct code indent [ERROR] heinzm
2023-03-06 21:27 ` [PATCH 06/34] md: move trailing statements to next line [ERROR] heinzm
2023-03-07 20:23 ` kernel test robot
2023-03-06 21:27 ` [PATCH 07/34] md: consistent spacing around operators [ERROR] heinzm
2023-03-06 21:27 ` [PATCH 08/34] md: don't initilize statics/globals to 0/false [ERROR] heinzm
2023-03-07 9:42 ` Paul Menzel
2023-03-06 21:27 ` [PATCH 09/34] md: else should follow close curly brace [ERROR] heinzm
2023-03-07 9:45 ` Paul Menzel
2023-03-06 21:27 ` [PATCH 10/34] md: remove trailing whitespace [ERROR] heinzm
2023-03-06 21:27 ` [PATCH 11/34] md: do not use assignment in if condition [ERROR] heinzm
2023-03-06 21:27 ` [PATCH 12/34] md: add missing blank line after declaration [WARNING] heinzm
2023-03-06 21:27 ` [PATCH 13/34] md: space prohibited between function and opening parenthesis [WARNING] heinzm
2023-03-06 21:27 ` [PATCH 14/34] md: prefer seq_put[cs]() to seq_printf() |WARNING] heinzm
2023-03-06 21:27 ` [PATCH 15/34] md: avoid multiple line dereference [WARNING} heinzm
2023-03-06 21:27 ` [PATCH 16/34] md: fix block comments [WARNING] heinzm
2023-03-06 21:27 ` [PATCH 17/34] md: add missing function identifier names to function definition arguments [WARNING] heinzm
2023-03-06 21:27 ` [PATCH 18/34] md: avoid redundant braces in single line statements [WARNING] heinzm
2023-03-06 21:27 ` [PATCH 19/34] md: place constant on the right side of a test [WARNING] heinzm
2023-03-06 21:27 ` [PATCH 20/34] md: avoid pointless filenames in files [WARNING] heinzm
2023-03-06 21:27 ` [PATCH 21/34] md: avoid useless else after break or return [WARNING] heinzm
2023-03-06 21:27 ` [PATCH 22/34] md: don't indent labels [WARNING] heinzm
2023-03-06 21:27 ` [PATCH 23/34] md: fix code indent for conditional statements [WARNING] heinzm
2023-03-06 21:27 ` [PATCH 24/34] md: prefer octal permissions [WARNING] heinzm
2023-03-06 21:27 ` [PATCH 25/34] md: remove bogus IS_ENABLED() macro [WARNING] heinzm
2023-03-06 21:27 ` [PATCH 26/34] md autodetect: correct placement of __initdata [WARNING] heinzm
2023-03-06 21:27 ` [PATCH 27/34] md: prefer using "%s...", __func__ [WARNING] heinzm
2023-03-06 21:27 ` [PATCH 28/34] md pq: adjust __attribute__ [WARNING] heinzm
2023-03-06 21:27 ` [PATCH 29/34] md: prefer 'unsigned int' [WARNING] heinzm
2023-03-06 21:27 ` [PATCH 30/34] md: prefer kmap_local_page() instead of deprecated kmap_atomic() [WARNING] heinzm
2023-03-06 21:27 ` [PATCH 31/34] md raid5: prefer 'int' instead of 'signed' [WARNING] heinzm
2023-03-06 21:27 ` [PATCH 32/34] md: prefer kvmalloc_array() with multiply [WARNING] heinzm
2023-03-06 21:27 ` [PATCH 33/34] md: avoid splitting quoted strings [WARNING] heinzm
2023-03-06 21:27 ` [PATCH 34/34] md: avoid return in void functions [WARNING] heinzm
2023-03-07 1:18 ` Guoqing Jiang [this message]
[not found] ` <CAM23Vxqf-XMdoobeEyyk1MC=PzkWM=5w88jM8R-joxrrT82ukw@mail.gmail.com>
2023-03-08 1:30 ` [PATCH 00/34] address various checkpatch.pl requirements Guoqing Jiang
2023-03-13 21:20 ` Song Liu
[not found] ` <CAM23Vxpzbt50iyJWQPxDnf51iO1E+cgQJnLFfKCZ3o5Xtro5aQ@mail.gmail.com>
2023-03-14 20:42 ` Song Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5be00f6c-22ee-1af3-c5ed-d92863d7f442@linux.dev \
--to=guoqing.jiang@linux.dev \
--cc=dkeefe@redhat.com \
--cc=heinzm@redhat.com \
--cc=linux-raid@vger.kernel.org \
--cc=ncroxon@redhat.com \
--cc=xni@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).