Skip to content

checkpatch: add verbose mode

Dwaipayan Ray linux-doc linux-kernel-mentees lkml 8 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest3 patches 3 repliesIn review
  2. v72 patches 8 repliesSuperseded
  3. v62 patches 4 repliesSuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v52 patches1 replySuperseded
v42 patches3 repliesSuperseded
v3 RFC3 patches9 repliesSuperseded
v23 patches3 repliesSuperseded
v1 RFC3 patches3 repliesSuperseded

Changes in v8 from the cover letter

- Remove custom table of contents from checkpatch rst

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3docs: add documentation for checkpatchDocumentation/dev-tools/checkpatch.rst Documentation/dev-tools/index.rst+514 -00 replies
2/3checkpatch: add verbose modescripts/checkpatch.pl+113 -200 replies
3/3MAINTAINERS: clarify responsibility for checkpatch documentationMAINTAINERS+9 -00 replies

Reviews trailers per patch

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

Read the v8 thread

Cover letter [PATCH v8 0/3] checkpatch: add verbose mode

Add a new verbose mode to checkpatch. The verbose test descriptions are read from the new checkpatch documentation file at Documentation/dev-tools/checkpatch.rst, which is also added by this series.

The verbose mode is optional and can be enabled by the flag -v or --verbose.

The documentation file is only parsed by checkpatch.pl if the verbose mode is enabled. The verbose mode can not be used together with the --terse option.

Changes in v8:
- Remove custom table of contents from checkpatch rst

Changes in v7:
- Add color coding support to --list-types option

Changes in v6:
- Allow using verbose mode with --list-types option

Changes in v5:
- Change the reference format to use absolute links.
- Print verbose descriptions only for the first time a message type is encountered.

Changes in v4:
- Change the type description format
- Group the message types by usage
- Make handling of --terse with --verbose simpler

Changes in v3:
- Simplify documentation file parsing in checkpatch
- Document a total of 33 message types for checkpatch

Changes in v2:
- Use .rst Field Lists to specify the type descriptions.
- Add a few more type descriptions to documentation.

Dwaipayan Ray (2):
docs: add documentation for checkpatch
checkpatch: add verbose mode

Lukas Bulwahn (1):
MAINTAINERS: clarify responsibility for checkpatch documentation

 Documentation/dev-tools/checkpatch.rst | 513 +++++++++++++++++++++++++
 Documentation/dev-tools/index.rst      |   1 +
 MAINTAINERS                            |   9 +
 scripts/checkpatch.pl                  | 133 ++++++-
 4 files changed, 636 insertions(+), 20 deletions(-)
 create mode 100644 Documentation/dev-tools/checkpatch.rst
Signature · 6 lines
2.30.0

_______________________________________________
Linux-kernel-mentees mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees