linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] checkpatch: add verbose mode
@ 2021-02-17 16:54 Dwaipayan Ray
  2021-02-17 16:54 ` [PATCH v4 1/2] " Dwaipayan Ray
  2021-02-17 16:54 ` [PATCH v4 2/2] docs: add documentation for checkpatch Dwaipayan Ray
  0 siblings, 2 replies; 6+ messages in thread
From: Dwaipayan Ray @ 2021-02-17 16:54 UTC (permalink / raw)
  To: joe; +Cc: lukas.bulwahn, linux-kernel-mentees, linux-kernel, Dwaipayan Ray

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 checkpatch.pl
if the verbose mode is enabled. The verbose mode can
not be used together with the --terse option.

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 | 525 +++++++++++++++++++++++++
 Documentation/dev-tools/index.rst      |   1 +
 scripts/checkpatch.pl                  |  61 ++-
 3 files changed, 584 insertions(+), 3 deletions(-)
 create mode 100644 Documentation/dev-tools/checkpatch.rst

-- 
2.30.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-02-19 18:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-17 16:54 [PATCH v4 0/2] checkpatch: add verbose mode Dwaipayan Ray
2021-02-17 16:54 ` [PATCH v4 1/2] " Dwaipayan Ray
2021-02-19 17:55   ` Joe Perches
2021-02-17 16:54 ` [PATCH v4 2/2] docs: add documentation for checkpatch Dwaipayan Ray
2021-02-19 17:55   ` Joe Perches
2021-02-19 18:34     ` Dwaipayan Ray

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).