Skip to content

checkpatch: update to version 0.24

Andy Whitcroft lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13checkpatch: do is not a possible typescripts/checkpatch.pl+18 -60 replies
2/13checkpatch: labels are not possible typesscripts/checkpatch.pl+1 -10 replies
3/13checkpatch: handle do without braces if we have enough contextscripts/checkpatch.pl+24 -30 replies
4/13checkpatch: macros which define structure members are not complexscripts/checkpatch.pl+1 -00 replies
5/13checkpatch: accept any sized le/be typescripts/checkpatch.pl+1 -10 replies
6/13checkpatch: pull out known acceptable typedefsscripts/checkpatch.pl+7 -10 replies
7/13checkpatch: suspect code indent must stop at #else/#elifscripts/checkpatch.pl+6 -00 replies
8/13checkpatch: complex macros checks miss square bracketsscripts/checkpatch.pl+4 -30 replies
9/13checkpatch: DEFINE_ macros are real definitions for exportsscripts/checkpatch.pl+8 -70 replies
10/13checkpatch: trailing statements ensure we report the end of the linescripts/checkpatch.pl+10 -10 replies
11/13checkpatch: suspect indent handle macro continuationscripts/checkpatch.pl+4 -10 replies
12/13checkpatch: allow for comments either side of a brace on casescripts/checkpatch.pl+1 -10 replies
13/13checkpatch: version: 0.24scripts/checkpatch.pl+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/13] checkpatch: update to version 0.24

This update brings a large number of small fixes to existing checks. Of note:

- fixes up a number of false type detections,
- code indent checks handle macros and continuation,
- complex macro detection handles square bracket nesting correctly, and
- better comment handling for case.

Complete changelog below.

*** BLURB HERE ***

Andy Whitcroft (13):
checkpatch: do is not a possible type
checkpatch: labels are not possible types
checkpatch: handle do without braces if we have enough context
checkpatch: macros which define structure members are not complex
checkpatch: accept any sized le/be type
checkpatch: pull out known acceptable typedefs
checkpatch: suspect code indent must stop at #else/#elif
checkpatch: complex macros checks miss square brackets
checkpatch: DEFINE_ macros are real definitions for exports
checkpatch: trailing statements ensure we report the end of the line
checkpatch: suspect indent handle macro continuation
checkpatch: allow for comments either side of a brace on case
checkpatch: version: 0.24

 scripts/checkpatch.pl |  110 +++++++++++++++++++++++++++++++++++++-----------
 1 files changed, 85 insertions(+), 25 deletions(-)