riscv-openocd/tools
Antonio Borneo ceae51ad74 checkpatch: only report error on hit
The Linux checkpatch script used by OpenOCD reports hits either as
error, warning and check.
Such classification is meaningful for Linux maintainers, but for
OpenOCD Jenkins they are all considered as errors.

Having such classification in the checkpatch report by Jenkins is
misleading for developers that expect 'warnings' to be probably
ignored by maintainers, while having no idea what 'checks' means.

This patch flattens all the checkpatch reports to 'error' only.

Checkpatch can trigger false positives. OpenOCD uses the tag
	Checkpatch-ignore:
in the commit message to prevent Jenkins to report the error, as
described in HACKING.

Change-Id: I1d3164ba1f725c0763dfe362192ffa669b3856e6
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8424
Reviewed-by: Karl Palsson <karlp@tweak.au>
Tested-by: jenkins
2024-08-25 12:36:57 +00:00
..
git2cl@8373c9f749 Add git2cl from repo.or.cz as a submodule in tools/git2cl. 2009-10-27 23:20:24 -07:00
release coding style: tools: remove empty lines at end of text files 2020-02-24 10:31:06 +00:00
rlink_make_speed_table update files to correct FSF address 2013-06-05 19:52:42 +00:00
scripts checkpatch: only report error on hit 2024-08-25 12:36:57 +00:00
st7_dtc_as coding style: tools: remove empty lines at end of text files 2020-02-24 10:31:06 +00:00
checkpatch.sh checkpatch: adapt shell script to the tool's new version 2022-09-18 08:20:08 +00:00
disassemble_inc.sh tools: add disassembler helper for files .inc 2023-01-15 15:06:56 +00:00
initial.sh gerrit url: update the gerrit server address to https://review.openocd.org 2021-09-18 15:21:02 +00:00
logger.pl Fix logger.pl script to avoid spurious empty line in some cases. 2009-06-30 05:33:17 +00:00
release.sh tools: release.sh: produce only SHA256 hashes 2018-01-13 08:41:23 +00:00
uncrustify1.sh Add uncrustify config file and helper script 2009-02-03 04:27:48 +00:00