mirror_zfs/scripts
Rob Norris 0e87150b6c cstyle: understand basic top-level macro invocations
We quite often invoke macros outside of functions, usually to generate
functions or data. cstyle inteprets these as function headers, which at
least have opinions for indenting.

This introduces a separate state for top-level macro invocations, and
excludes it from matching functions. For the moment, most of the
existing rules will continue to apply, but this gives us a way to add or
removes rules targeting macros specifically.

Sponsored-by: https://despairlabs.com/sponsor/
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Closes #16840
2024-12-06 09:05:02 -08:00
..
zfs-images@3331601f6d Add zimport.sh compatibility test script 2014-02-21 12:10:31 -08:00
.gitignore Remove autotools products 2012-08-27 11:47:44 -07:00
commitcheck.sh Add ShellCheck's --enable=all inside scripts/ 2022-01-13 11:09:19 -07:00
common.sh.in Ubuntu 22.04 integration: ShellCheck 2022-11-18 11:24:48 -08:00
cstyle.pl cstyle: understand basic top-level macro invocations 2024-12-06 09:05:02 -08:00
dkms.mkconf disable automatic dependency tracking for dkms builds 2024-06-13 18:08:49 -07:00
dkms.postbuild Turn shellcheck into a normal make target. Fix new files it caught 2021-06-01 11:38:49 -07:00
kmodtool Fix kmodtool for packaging mainline Linux 2023-03-22 09:22:52 -07:00
make_gitrev.sh Add ShellCheck's --enable=all inside scripts/ 2022-01-13 11:09:19 -07:00
Makefile.am config: remove ZFS_GLOBAL_ZONE_PAGE_STATE and ZFS_ENUM_* generation 2024-09-18 11:23:50 -07:00
man-dates.sh Fix minor shellcheck 0.7.2 warnings 2021-06-09 12:21:24 -07:00
mancheck.sh mancheck: exclude dotfiles in man dir 2023-03-01 09:38:31 -08:00
paxcheck.sh Add ShellCheck's --enable=all inside scripts/ 2022-01-13 11:09:19 -07:00
update_authors.pl update_authors: add missing names from commits to AUTHORS 2023-10-10 08:54:57 -07:00
zfs2zol-patch.sed linux: module: weld all but spl.ko into zfs.ko 2022-04-20 13:28:24 -07:00
zfs_prepare_disk Add zfs_prepare_disk script for disk firmware install 2023-09-21 08:36:26 -07:00
zfs-helpers.sh cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
zfs-tests-color.sh Colorize the Github test output 2022-02-16 11:40:25 -08:00
zfs-tests.sh ZTS: Use QEMU for tests on Linux and FreeBSD 2024-09-17 12:03:27 -07:00
zfs.sh scripts: zfs.sh: explicitly unload all modules via rmmod 2022-04-21 16:33:12 -07:00
zimport.sh Ubuntu 22.04 integration: ShellCheck 2022-11-18 11:24:48 -08:00
zloop.sh RAID-Z expansion feature 2023-11-08 10:19:41 -08:00
zol2zfs-patch.sed Move properties, parameters, events, and concepts around manual sections 2021-06-09 14:35:30 -07:00