zephyr/scripts
Joe Perches 6cdeefcabb checkpatch: improve the indented label test
checkpatch identifies a label only when a terminating colon
immediately follows an identifier.

Bitfield definitions can appear to be labels so ignore any
spaces between the identifier terminating colon and any digit
that may be used to define a bitfield length.

Miscellanea:

o Improve the initial checkpatch comment
o Use the more typical '&&' instead of 'and'
o Require the initial label character to be a non-digit
  (Can't use $Ident here because $Ident allows ## concatenation)
o Use $sline instead of $line to ignore comments
o Use '$sline !~ /.../' instead of '!($line =~ /.../)'

Link: https://lkml.kernel.org/r/b54d673e7cde7de5de0c9ba4dd57dd0858580ca4.camel@perches.com
Signed-off-by: Joe Perches <joe@perches.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Manikishan Ghantasala <manikishanghantasala@gmail.com>
Cc: Alex Elder <elder@ieee.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-11-17 01:02:03 +09:00
..
build scripts: Fix header ifdef guard for gen_image_info.py 2022-11-15 14:46:02 +01:00
checkpatch scripts: checkpatch: add Atmel Pwm typedef 2022-07-12 17:51:23 +02:00
ci scripts: compliance: Ensure lxml is installed 2022-11-13 06:25:59 -05:00
coccinelle
coredump debug: coredump: add xtensa intel adsp, support toolchains 2022-06-23 15:44:45 -04:00
dts edtlib: re-appease the linter 2022-11-07 19:00:31 +01:00
footprint footprint: Update conf files for nrf5340_cpunet rpmsg 2022-11-11 08:46:46 +00:00
gitlint scripts: gitlint: block Change-Id tags in commit message 2022-04-20 20:59:33 -04:00
kconfig kconfig: wrap description in guiconfig 2022-10-31 23:23:46 +09:00
logging/dictionary scripts: dictionary: Initialise Colorama during module load 2022-05-24 09:00:16 -07:00
net scripts: net: add enumerate_http_status.py 2022-10-12 09:02:21 -04:00
pylib scripts: pylib: remove west log dependency from domains.py 2022-11-14 10:12:31 +00:00
release scripts: release: strip title names 2022-09-27 16:51:45 -05:00
schemas/twister scripts: twister: add support for sysbuild 2022-10-04 14:06:58 -04:00
support
tests twister: tests: Add unit tests for names of external and module tests 2022-11-13 17:45:09 -05:00
tracing scripts: tracing: Initialise Colorama during module load 2022-05-24 09:00:16 -07:00
utils scripts: migrate_includes: migrate zephyr.h to kernel.h 2022-09-05 16:31:47 +02:00
west_commands runners: trace32: mypy fixes 2022-11-09 11:10:09 -05:00
.gitignore
checkpatch.pl checkpatch: improve the indented label test 2022-11-17 01:02:03 +09:00
checkstack.pl
coccicheck
dump_bugs_pickle.py scripts: dump_bugs_pickle: strip bug titles 2022-09-27 16:51:45 -05:00
gen_gcov_files.py
get_maintainer.py scripts: get_maintainer: Use SafeLaoder for yaml 2022-04-13 13:48:18 -07:00
github_helpers.py scripts: add github_helpers.py 2022-05-24 18:48:03 +02:00
list_boards.py scripts: remove ZEPHYR_BASE as default root for board listing 2022-08-18 14:29:14 +02:00
make_bugs_pickle.py scripts: add make_bugs_pickle.py 2022-05-24 18:48:03 +02:00
requirements-base.txt requirements: bump pyelftools to >=0.27 2022-06-10 09:46:31 +02:00
requirements-build-test.txt
requirements-compliance.txt requirements: Add lxml as a requirement 2022-11-13 06:25:59 -05:00
requirements-doc.txt doc: Do not use Sphinx 5.2.0.post0 2022-09-25 10:37:32 +02:00
requirements-extras.txt scripts: requirements-extras: Request imgtool 1.9 for write-block-size > 8 2022-09-01 10:28:33 +02:00
requirements-run-test.txt soc: xtensa: tools: remove dependency of netifaces package 2022-08-16 22:51:53 -07:00
requirements.txt
series-push-hook.sh
set_assignees.py scripts: set_assignee: Make review requests more deterministic 2022-10-20 23:52:49 +09:00
spelling.txt
tags.sh
twister scripts: twister: update twister to support QEMU platforms with sysbuild 2022-10-26 08:48:37 -04:00
valgrind.supp
west-commands.yml west: Add completion support for zsh 2022-09-06 08:43:15 -07:00
zephyr_module.py scripts: modules: Mark the build as tainted if blobs present 2022-08-29 15:57:59 +02:00