[lkml]   [2021]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH v5 0/2] checkpatch: add verbose mode
Add a new verbose mode to checkpatch. The verbose test
descriptions are read from the checkpatch documentation
file at `Documentation/dev-tools/checkpatch.rst`.

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

The documentation file is only parsed by
if the verbose mode is enabled. The verbose mode can
not be used together with the --terse 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):
checkpatch: add verbose mode
docs: add documentation for checkpatch

Documentation/dev-tools/checkpatch.rst | 526 +++++++++++++++++++++++++
Documentation/dev-tools/index.rst | 1 +
scripts/ | 63 ++-
3 files changed, 587 insertions(+), 3 deletions(-)
create mode 100644 Documentation/dev-tools/checkpatch.rst


 \ /
  Last update: 2021-02-20 13:03    [W:0.047 / U:1.920 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site