Messages in this thread | | | From | Jim Cromie <> | Subject | [PATCH 0/3] checkpatch tweaks | Date | Fri, 25 Jun 2021 21:40:13 -0600 |
| |
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
| |