diff options
author | 2020-12-15 20:45:18 -0800 | |
---|---|---|
committer | 2020-12-15 22:46:17 -0800 | |
commit | 084a617acfa08118eafb51a6ef43e6fa4705853d (patch) | |
tree | 2ec80eeaf4630bf9fb95767982b1b694f9905286 /tools/perf/scripts | |
parent | checkpatch: add warning for unnecessary use of %h[xudi] and %hh[xudi] (diff) | |
download | linux-dev-084a617acfa08118eafb51a6ef43e6fa4705853d.tar.xz linux-dev-084a617acfa08118eafb51a6ef43e6fa4705853d.zip |
checkpatch: add warning for lines starting with a '#' in commit log
Commit log lines starting with '#' are dropped by git as comments.
Add a check to emit a warning for these lines.
Also add a --fix option to insert a space before the leading '#' in
such lines.
Link: https://lkml.kernel.org/r/20201202205740.127986-1-dwaipayanray1@gmail.com
Signed-off-by: Dwaipayan Ray <dwaipayanray1@gmail.com>
Suggested-by: Joe Perches <joe@perches.com>
Suggested-by: Peilin Ye <yepeilin.cs@gmail.com>
Tested-by: Peilin Ye <yepeilin.cs@gmail.com>
Acked-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions