Skip to content

checkpatch tweaks

Jim Cromie lkml 1 version NAK

Status from this message: nak.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 11 repliesNAK

Patches in v1

#Subject and filesSizeRepliesApplied
1/3checkpatch: skip spacing tests on linker scriptsscripts/checkpatch.pl+7 -18 replies
2/3checkpatch: tweak extern in C warningscripts/checkpatch.pl+2 -13 replies
3/3checkpatch: suppress BUG_ON warn when it is named in commitmsgscripts/checkpatch.pl+15 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] checkpatch tweaks

here are 3 minor tweaks to checkpatch
- skip reporting of a SPACING test, based on filename exclusion. *.lds.h are linker scripts, some rules don't apply
- exclude extern-C warning for symbol patterns common to vmlinux.lds.h (_start|_stop|_end) currently, pls tweak as fitting.
- subdue warning on BUG_ON if BUG_ON is mentioned in commit log

Jim Cromie (3):
checkpatch: skip spacing tests on linker scripts
checkpatch: tweak extern in C warning
checkpatch: suppress BUG_ON warn when it is named in commitmsg

 scripts/checkpatch.pl | 27 ++++++++++++++++++++++++---
 1 file changed, 24 insertions(+), 3 deletions(-)
Signature · 1 line
2.31.1