All of lore.kernel.org
 help / color / mirror / Atom feed
* [Linux-kernel-mentees] [PATCH RFC 0/3] docs: add documentation for checkpatch
@ 2021-01-24 15:19 Dwaipayan Ray
  2021-01-24 15:19 ` [Linux-kernel-mentees] [PATCH RFC 1/3] " Dwaipayan Ray
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Dwaipayan Ray @ 2021-01-24 15:19 UTC (permalink / raw)
  To: lukas.bulwahn; +Cc: Dwaipayan Ray, linux-kernel-mentees

This patch series serves to introduce a documentation for kernel script
checkpatch.pl (scripts/checkpatch.pl).

A top level tools directory has been created in docs which shall contain
the documentation related to the kernel tools and scripts.

This documentation shall be progressively updated by future patches to
document all the message types in checkpatch. Consecutively this
documentation itself will be parsed by checkpatch to generate verbose
messages.

Dwaipayan Ray (3):
  docs: add documentation for checkpatch
  docs: add documentation for checkpatch
  docs: add documentation for checkpatch

 Documentation/index.rst            |  11 ++
 Documentation/tools/checkpatch.rst | 271 +++++++++++++++++++++++++++++
 Documentation/tools/index.rst      |  10 ++
 3 files changed, 292 insertions(+)
 create mode 100644 Documentation/tools/checkpatch.rst
 create mode 100644 Documentation/tools/index.rst

-- 
2.30.0

_______________________________________________
Linux-kernel-mentees mailing list
Linux-kernel-mentees@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees

^ permalink raw reply	[flat|nested] 14+ messages in thread
* [PATCH RFC 0/3] checkpatch: add verbose mode
@ 2021-01-26 18:35 Dwaipayan Ray
  2021-01-26 18:35 ` [Linux-kernel-mentees] [PATCH RFC 3/3] docs: add documentation for checkpatch Dwaipayan Ray
  0 siblings, 1 reply; 14+ messages in thread
From: Dwaipayan Ray @ 2021-01-26 18:35 UTC (permalink / raw)
  To: joe; +Cc: linux-kernel-mentees, lukas.bulwahn, linux-kernel, Dwaipayan Ray

This patch series adds a verbose mode to checkpatch.
The verbose test descriptions are loaded from the
checkpatch documentation and parsed by checkpatch.

The documentation itself needs more work. More input
on the usage and test descriptions are needed.

Also the visual aspects of the verbose mode needs
some work put into. The usual printing of verbose
descriptions can cause confusion and maybe hard to
distinguish from the actual warnings.

Please note that this is only an initial attempt
and any comments are welcome.

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

 Documentation/dev-tools/checkpatch.rst | 283 +++++++++++++++++++++++++
 Documentation/dev-tools/index.rst      |   1 +
 scripts/checkpatch.pl                  |  55 +++++
 3 files changed, 339 insertions(+)
 create mode 100644 Documentation/dev-tools/checkpatch.rst

-- 
2.30.0


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

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

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-24 15:19 [Linux-kernel-mentees] [PATCH RFC 0/3] docs: add documentation for checkpatch Dwaipayan Ray
2021-01-24 15:19 ` [Linux-kernel-mentees] [PATCH RFC 1/3] " Dwaipayan Ray
2021-01-24 16:41   ` Lukas Bulwahn
2021-01-24 16:53     ` Dwaipayan Ray
2021-01-24 16:57       ` Lukas Bulwahn
2021-01-24 15:19 ` [Linux-kernel-mentees] [PATCH RFC 2/3] " Dwaipayan Ray
2021-01-24 15:19 ` [Linux-kernel-mentees] [PATCH RFC 3/3] " Dwaipayan Ray
2021-01-24 16:38   ` Lukas Bulwahn
2021-01-24 16:46     ` Dwaipayan Ray
2021-01-24 16:53       ` Lukas Bulwahn
2021-01-24 15:29 ` [Linux-kernel-mentees] [PATCH RFC 0/3] " Dwaipayan Ray
2021-01-24 16:20   ` Lukas Bulwahn
2021-01-24 16:51 ` Lukas Bulwahn
2021-01-26 18:35 [PATCH RFC 0/3] checkpatch: add verbose mode Dwaipayan Ray
2021-01-26 18:35 ` [Linux-kernel-mentees] [PATCH RFC 3/3] docs: add documentation for checkpatch Dwaipayan Ray

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.