riscv-openocd/tools/scripts
Antonio Borneo 01cf43aab9 checkpatch: extend check for camel[0-9_]*CASE
Linux has some automatically generated macros that can trigger
camelCASE check. This forces checkpatch to only detect the pattern
	[A-Z][a-z]|[a-z][A-Z]
for adjacent case transition.

In OpenOCD we do not have such case, so extend the check to
	[A-Z][0-9_]*[a-z]|[a-z][0-9_]*[A-Z]
and remove the detection of Linux special cases.

Change-Id: I82cb6dc668edbb093f68991337da1f4b933f1fac
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7152
Tested-by: jenkins
2022-09-18 08:21:09 +00:00
..
camelcase.txt checkpatch: enable CAMELCASE test 2022-09-18 08:20:56 +00:00
checkpatch.pl checkpatch: extend check for camel[0-9_]*CASE 2022-09-18 08:21:09 +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