riscv-openocd/tools/scripts
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
..
camelcase.txt tools/scripts: iManufacturer added to camelcase.txt 2023-10-25 01:34:28 +00:00
checkpatch.pl checkpatch: only report error on hit 2024-08-25 12:36:57 +00:00
const_structs.checkpatch checkpatch: import new script version from kernel v6.0-rc3 2022-09-18 08:16:40 +00:00
spdxcheck.py checkpatch: check for SPDX tags of licenses in use 2022-09-18 08:19:47 +00:00
spdxexclude checkpatch: import new script version from kernel v6.0-rc3 2022-09-18 08:16:40 +00:00
spelling.txt checkpatch: import new script version from kernel v6.0-rc3 2022-09-18 08:16:40 +00:00
typedefs.txt checkpatch: add list of typedef used in OpenOCD 2022-09-18 08:19:28 +00:00