diff options
| author | Dwaipayan Ray <[email protected]> | 2021-02-26 15:08:26 +0530 |
|---|---|---|
| committer | Jonathan Corbet <[email protected]> | 2021-03-06 17:36:51 -0700 |
| commit | 52178ce01335d9d76611c3a5198b8778cb9b03f5 (patch) | |
| tree | 3ac943f06cd0ff936bfe084be608515df21377da /tools/perf/scripts/python/netdev-times.py | |
| parent | 2eecbab86400f002c4a541efd357b02945735020 (diff) | |
checkpatch: add verbose mode
Add a new verbose mode to checkpatch.pl to emit additional verbose
test descriptions. The verbose mode is optional and can be enabled
by the flag -v or --verbose.
The test descriptions are parsed from the checkpatch documentation
file at `Documentation/dev-tools/checkpatch.rst`. The test
descriptions in the docs are kept in a fixed format grouped by
usage. Some examples of this format are:
**LINE_SPACING**
Vertical space is wasted given the limited number of lines an
editor window can display when multiple blank lines are used.
**MISSING_SIGN_OFF**
The patch is missing a Signed-off-by line. A signed-off-by
line should be added according to Developer's certificate of
Origin.
To avoid lengthy output, the verbose description is printed only
for the first instance of a particular message type.
The --verbose option cannot be used along with the --terse option.
Verbose mode can be used with the --list-types option.
The --list-types output also supports color coding now.
Signed-off-by: Dwaipayan Ray <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Corbet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions