zephyr/scripts
Martin Åberg c4766f9572 scripts/checkpatch: Improve blank line check after declarations
This adds volatile type qualifier to the struct declaration matching
when looking for blank line after declarations.

Before this commit, this structure was not accepted by chheckpatch:
  struct cfg {
         struct gpio_driver_config common;
         volatile struct grgpio_regs *regs;
         int interrupt;
  };

checkpatch.pl generated the following warning:
  -:158: WARNING:LINE_SPACING: Missing a blank line after declarations
  #158: FILE: drivers/gpio/gpio_grgpio2.c:27:
  +	struct gpio_driver_config common;
  +	volatile struct grgpio_regs *regs;

With this commit, the warning is no longer generated.

Signed-off-by: Martin Åberg <martin.aberg@gaisler.com>
2024-04-19 17:03:49 +00:00
..
build kernel: rename Z_KERNEL_STACK_LEN to K_KERNEL_STACK_LEN 2024-03-27 19:27:10 -04:00
checkpatch kernel/timeout: introduce the timepoint API 2023-07-25 09:12:26 +02:00
ci ci: compliance: Update Kconfig check 2024-04-13 07:17:45 -04:00
coccinelle scripts: coccinelle: Remove strtok_r symbol from checklist 2023-08-23 16:05:08 +01:00
coredump arch: riscv: update coredump for 64BIT RISCV 2024-04-13 07:03:23 -04:00
dts scripts: dts: update pyyaml version 2024-03-29 09:03:34 -04:00
footprint scripts/size_report: display object address in overview 2024-03-26 10:49:04 -04:00
generate_usb_vif USB-C: genVIF: Cleanup and add support to pick static data from input 2023-05-26 13:54:43 -04:00
gitlint gitlint: do not allow treewide as an area in commit messages 2024-04-10 09:22:24 +02:00
kconfig scripts: kconfig: Add substring function 2024-03-21 20:10:46 +01:00
logging/dictionary scripts: logging: support native_posix dictionary logging 2024-04-12 11:54:18 +02:00
native_simulator native_simulator: Get latest from upstream 2024-04-12 15:03:35 +02:00
net tests|scripts/net: Change native_posix references to native_sim 2024-03-20 15:43:05 +01:00
pylib twister: fix NXP hw detection in hardware map 2024-04-12 08:44:41 -04:00
pylint/checkers scripts: pylint: Add argument parser abbreviation checker 2023-01-26 20:12:36 +09:00
release scripts: drop list_issues.py 2023-07-25 16:45:15 +02:00
schemas twister: add flash-before option 2024-03-25 18:37:49 -04:00
support treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
tests scripts: twister: Fix overbroad Mock in environment unit tests 2024-04-15 16:25:51 +02:00
tracing tracing: scripts: Fix spelling 2023-02-08 01:09:31 +09:00
utils hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
west_commands west: spdx: introduce support for SPDX 2.3 2024-04-16 10:07:49 -07:00
.gitignore cleanup: rename sanitycheck references to twister 2021-01-14 07:50:52 -06:00
checkpatch.pl scripts/checkpatch: Improve blank line check after declarations 2024-04-19 17:03:49 +00:00
checkstack.pl
coccicheck scripts: Allow use of bash outside of /bin 2022-03-08 11:11:10 +01:00
dump_bugs_pickle.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
gen_gcov_files.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
get_maintainer.py MAINTAINERS: add 2 new keys: tags, tests 2023-12-22 09:54:12 +01:00
github_helpers.py scripts: add github_helpers.py 2022-05-24 18:48:03 +02:00
list_boards.py scripts: Ignore duplicate roots in list_boards/hardware 2024-03-26 16:20:08 -04:00
list_hardware.py scripts: Ignore duplicate roots in list_boards/hardware 2024-03-26 16:20:08 -04:00
make_bugs_pickle.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
requirements-base.txt scripts: dts: update pyyaml version 2024-03-29 09:03:34 -04:00
requirements-build-test.txt scripts: coverage: gcovr to ignore negative counters 2023-11-03 07:57:10 -04:00
requirements-compliance.txt scripts: compliance: add support for YAMLLint 2023-01-04 17:29:23 +01:00
requirements-extras.txt scripts/requirements: bump imgtool to 2.0.0 2024-02-12 23:26:04 +01:00
requirements-run-test.txt scripts: tests: --package-artifacts fix, blackbox tests 2024-03-11 16:12:55 -04:00
requirements.txt doc: move requirements to doc/ 2023-07-12 09:13:49 -04:00
series-push-hook.sh scripts: series-push-hook: Use main as base comparison branch 2021-05-27 15:55:43 -05:00
set_assignees.py scripts: set_maintainer: add log messages for skipped collabs 2024-04-04 11:14:42 +01:00
snippets.py terminology: adopt CMake, python, and Kconfig code to use qualifiers 2024-03-21 15:32:17 +01:00
spelling.txt spelling: add enabeld typo 2024-03-06 19:27:28 -05:00
tags.sh scripts: Update paths on tags.sh 2021-02-19 05:28:09 -06:00
twister twister: implement simulation_exclude filter 2023-12-19 07:33:39 -05:00
valgrind.supp valgrind: Update POSIX soc no cpu cleanup suppression 2023-11-29 15:33:49 +01:00
west-commands.yml west: commands: Add bindesc command 2023-09-28 07:39:09 -04:00
zephyr_module.py scripts: kconfig: Always generate ZEPHYR_*_MODULE 2023-10-24 10:53:24 +02:00