update checkpatch to v0.31
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest16 patches 0 repliesNew
Patches in v1 No applies recorded yet
Reviews trailers per patch
1 of 16 patches has a Reviewed-by or Acked-by.
| Patch | Linus Walleij |
|---|---|
| 1/16 | |
| 2/16 | |
| 3/16 | |
| 4/16 | |
| 5/16 | |
| 6/16 | |
| 7/16 | |
| 8/16 | |
| 9/16 | |
| 10/16 | A-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.
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(-)