address various checkpatch.pl requirements
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest34 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/34 | md: fix required/prohibited spaces [ERROR]drivers/ drivers/ drivers/ +11 more | +132 | 0 replies | |
| 2/34 | md: fix 'foo*' and 'foo * bar' [ERROR]drivers/ drivers/ drivers/ +4 more | +41 | 0 replies | |
| 3/34 | md: fix EXPORT_SYMBOL() to follow its functions immediately [ERROR]drivers/ | +0 | 0 replies | |
| 4/34 | md: adjust braces on functions/structures [ERROR]drivers/ drivers/ drivers/ +7 more | +18 | 0 replies | |
| 5/34 | md: correct code indent [ERROR]drivers/ drivers/ drivers/ +3 more | +22 | 0 replies | |
| 6/34 | md: move trailing statements to next line [ERROR]drivers/ drivers/ drivers/ +3 more | +61 | 0 replies | |
| 7/34 | md: consistent spacing around operators [ERROR]drivers/ | +4 | 0 replies | |
| 8/34 | md: don't initilize statics/globals to 0/false [ERROR]drivers/ drivers/ drivers/ | +3 | 1 reply | |
| 9/34 | md: else should follow close curly brace [ERROR]drivers/ drivers/ | +2 | 1 reply | |
| 10/34 | md: remove trailing whitespace [ERROR]drivers/ | +19 | 0 replies | |
| 11/34 | md: do not use assignment in if condition [ERROR]drivers/ drivers/ drivers/ +2 more | +48 | 0 replies | |
| 12/34 | md: add missing blank line after declaration [WARNING]drivers/ drivers/ drivers/ +10 more | +222 | 0 replies | |
| 13/34 | md: space prohibited between function and opening parenthesis [WARNING]drivers/ drivers/ drivers/ +3 more | +32 | 0 replies | |
| 14/34 | md: prefer seq_put[cs]() to seq_printf() |WARNING]drivers/ drivers/ drivers/ +3 more | +32 | 0 replies | |
| 15/34 | md: avoid multiple line dereference [WARNING}drivers/ drivers/ | +13 | 0 replies | |
| 16/34 | md: fix block comments [WARNING]drivers/ drivers/ drivers/ +8 more | +159 | 0 replies | |
| 17/34 | md: add missing function identifier names to function definition arguments [WARNING]drivers/ include/ include/ | +20 | 0 replies | |
| 18/34 | md: avoid redundant braces in single line statements [WARNING]drivers/ drivers/ drivers/ | +3 | 0 replies | |
| 19/34 | md: place constant on the right side of a test [WARNING]drivers/ | +2 | 0 replies | |
| 20/34 | md: avoid pointless filenames in files [WARNING]drivers/ drivers/ drivers/ +2 more | +6 | 0 replies | |
| 21/34 | md: avoid useless else after break or return [WARNING]drivers/ drivers/ drivers/ +1 more | +31 | 0 replies | |
| 22/34 | md: don't indent labels [WARNING]drivers/ drivers/ drivers/ | +6 | 0 replies | |
| 23/34 | md: fix code indent for conditional statements [WARNING]drivers/ drivers/ drivers/ | +7 | 0 replies | |
| 24/34 | md: prefer octal permissions [WARNING]drivers/ drivers/ drivers/ +1 more | +106 | 0 replies | |
| 25/34 | md: remove bogus IS_ENABLED() macro [WARNING]include/ | +0 | 0 replies | |
| 26/34 | md autodetect: correct placement of __initdata [WARNING]drivers/ | +3 | 0 replies | |
| 27/34 | md: prefer using "%s...", __func__ [WARNING]drivers/ drivers/ drivers/ | +10 | 0 replies | |
| 28/34 | md pq: adjust __attribute__ [WARNING]include/ | +6 | 0 replies | |
| 29/34 | md: prefer 'unsigned int' [WARNING]drivers/ drivers/ drivers/ +2 more | +8 | 0 replies | |
| 30/34 | md: prefer kmap_local_page() instead of deprecated kmap_atomic() [WARNING]drivers/ drivers/ drivers/ | +34 | 0 replies | |
| 31/34 | md raid5: prefer 'int' instead of 'signed' [WARNING]drivers/ | +2 | 0 replies | |
| 32/34 | md: prefer kvmalloc_array() with multiply [WARNING]drivers/ | +1 | 0 replies | |
| 33/34 | md: avoid splitting quoted strings [WARNING]drivers/ drivers/ drivers/ +3 more | +14 | 0 replies | |
| 34/34 | md: avoid return in void functions [WARNING]drivers/ drivers/ drivers/ | +0 | 0 replies |
Reviews trailers per patch
2 of 34 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Nigel Croxon | Xiao Ni | Paul Menzel |
|---|---|---|---|
| Series | R-b T-b | R-b T-b | |
| 1/34 | |||
| 2/34 | |||
| 3/34 | |||
| 4/34 | |||
| 5/34 | |||
| 6/34 | |||
| 7/34 | |||
| 8/34 | R-b | ||
| 9/34 | R-b | ||
| 10/34 | |||
| 11/34 | |||
| 12/34 | |||
| 13/34 | |||
| 14/34 | |||
| 15/34 | |||
| 16/34 | |||
| 17/34 | |||
| 18/34 | |||
| 19/34 | |||
| 20/34 | |||
| 21/34 | |||
| 22/34 | |||
| 23/34 | |||
| 24/34 | |||
| 25/34 | |||
| 26/34 | |||
| 27/34 | |||
| 28/34 | |||
| 29/34 | |||
| 30/34 | |||
| 31/34 | |||
| 32/34 | |||
| 33/34 | |||
| 34/34 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 00/34] address various checkpatch.pl requirements
From: heinzm <[email protected]>
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.
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]
drivers/md/md-autodetect.c | 18 +- drivers/md/md-bitmap.c | 159 ++++---- drivers/md/md-bitmap.h | 2 +- drivers/md/md-cluster.c | 51 ++- drivers/md/md-faulty.c | 43 ++- drivers/md/md-linear.c | 33 +- drivers/md/md-linear.h | 3 +- drivers/md/md-multipath.c | 52 +-- drivers/md/md.c | 755 +++++++++++++++++++------------------ drivers/md/md.h | 17 +- drivers/md/raid0.c | 70 ++-- drivers/md/raid1-10.c | 3 +- drivers/md/raid1.c | 91 +++-- drivers/md/raid10.c | 174 +++++---- drivers/md/raid5-cache.c | 41 +- drivers/md/raid5-ppl.c | 16 +- drivers/md/raid5.c | 293 +++++++------- include/linux/raid/pq.h | 33 +- include/linux/raid/xor.h | 34 +- 19 files changed, 1032 insertions(+), 856 deletions(-)
Signature · 1 line
2.39.2