[PATCH 0/3] checkpatch tweaks

From: Jim Cromie
Date: Fri Jun 25 2021 - 23:40:28 EST


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(-)

--
2.31.1