Skip to content

update checkpatch to v0.31

Andy Whitcroft lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16checkpatch: fix regressions in "fix handling of leading spaces"scripts/checkpatch.pl+6 -30 replies
2/16checkpatch: types may sit on a line on their ownscripts/checkpatch.pl+1 -10 replies
3/16checkpatch: suggest cleanpatch and cleanfile when appropriatescripts/checkpatch.pl+13 -00 replies
4/16checkpatch: ensure we do not collapse bracketed sections into constantsscripts/checkpatch.pl+4 -30 replies
5/16checkpatch: handle casts better fixing false categorisation of : as binaryscripts/checkpatch.pl+5 -00 replies
6/16checkpatch: returning errno typically should be negativescripts/checkpatch.pl+7 -00 replies
7/16checkpatch: add check for space after struct, union, and enumscripts/checkpatch.pl+10 -00 replies
8/16checkpatch: simplify and consolidate "missing space after" checksscripts/checkpatch.pl+5 -100 replies
9/16checkpatch: ensure kconfig help checks only apply when we are adding helpscripts/checkpatch.pl+21 -50 replies
10/16checkpatch: check for incorrect permissionsscripts/checkpatch.pl+13 -10 replies
11/16checkpatch: Add additional attribute #definesscripts/checkpatch.pl+14 -00 replies
12/16checkpatch: update copyright datesscripts/checkpatch.pl+1 -10 replies
13/16checkpatch: clean up structure definition macro handlinescripts/checkpatch.pl+2 -20 replies
14/16checkpatch: handle EXPORT_SYMBOL for DEVICE_ATTR and similarscripts/checkpatch.pl+10 -10 replies
15/16checkpatch: statement/block context analyser should look at sanitised linesscripts/checkpatch.pl+6 -60 replies
16/16checkpatch: version 0.31scripts/checkpatch.pl+1 -10 replies

Reviews trailers per patch

1 of 16 patches has a Reviewed-by or Acked-by.

PatchLinus Walleij
1/16
2/16
3/16
4/16
5/16
6/16
7/16
8/16
9/16
10/16A-b
11/16
12/16
13/16
14/16
15/16
16/16

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/16] update checkpatch to v0.31

After a long hiatus here is a batch of checkpatch updates from my tree. I have resynced with the version in v2.6.36-rc1 and added tests for all of the changes therein. This has thrown up a couple of regressions introduced in those changes. This update includes fixes for those, as below:

checkpatch: fix regressions in "fix handling of leading spaces"
checkpatch: ensure kconfig help checks only apply when we are adding help

The rest of my commits mostly fixes for false positives reported directly to me. There are also a couple of fixes from Joe and Rabin which I've integrated and tested.

Joe et al thanks for chiming in on many of the pending threads, most helpful.

Complete changelog below.

-apw

Andy Whitcroft (14):
checkpatch: fix regressions in "fix handling of leading spaces"
checkpatch: types may sit on a line on their own
checkpatch: suggest cleanpatch and cleanfile when appropriate
checkpatch: ensure we do not collapse bracketed sections into constants
checkpatch: handle casts better fixing false categorisation of : as binary
checkpatch: returning errno typically should be negative
checkpatch: add check for space after struct, union, and enum
checkpatch: simplify and consolidate "missing space after" checks
checkpatch: ensure kconfig help checks only apply when we are adding help
checkpatch: update copyright dates
checkpatch: clean up structure definition macro handline
checkpatch: handle EXPORT_SYMBOL for DEVICE_ATTR and similar
checkpatch: statement/block context analyser should look at sanitised lines
checkpatch: version 0.31

Joe Perches (1):
checkpatch: Add additional attribute #defines

Rabin Vincent (1):
checkpatch: check for incorrect permissions

 scripts/checkpatch.pl |  133 ++++++++++++++++++++++++++++++++++++++++---------
 1 files changed, 109 insertions(+), 24 deletions(-)