mirror_zfs/scripts
Ned Bass 5024046763 cstyle: allow right paren on its own line
Make the style checker script accept right parentheses on their own
lines. This is motivated by the Linux tracepoints macro
DECLARE_EVENT_CLASS.

The code within TP_fast_assign() (a parameter of DECLARE_EVENT_CLASS)
is normal C assignments terminated by semicolons.  But the style
checker forbids us from following a semicolon with a non-blank and
from preceding a right parenthesis with white space.  Therefore the
closing parenthesis must go on the next line, yet the style checker
foribs us from indenting it for readability.  Relaxing the
no-non-blank-after-semicolon rule would open the door to too many bad
style practices. So instead we relax the
no-white-space-before-right-paren rule if the parenthesis is on its
own line.  The relaxation is overriden with the -p option so we still
have a way to catch misuse of this style.

Signed-off-by: Ned Bass <bass6@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
2014-11-17 11:13:50 -08:00
..
zfs-images@3331601f6d Add zimport.sh compatibility test script 2014-02-21 12:10:31 -08:00
zpios-profile Replace libexecdir with datadir 2013-03-06 15:46:40 -08:00
zpios-test Replace libexecdir with datadir 2013-03-06 15:46:40 -08:00
zpool-config zpool-create.sh: allow features to be disabled 2014-07-25 11:58:31 -07:00
.gitignore Remove autotools products 2012-08-27 11:47:44 -07:00
common.sh.in Improve zfs.sh error messages 2014-04-10 14:27:00 -07:00
cstyle.pl cstyle: allow right paren on its own line 2014-11-17 11:13:50 -08:00
dkms.mkconf Fix source_tree variable in dkms build 2014-10-13 10:38:41 -07:00
dkms.postbuild Install header during post-build rather than post-install. 2014-10-09 12:03:50 -07:00
kmodtool Set LANG to a reasonable default (C) 2014-06-10 16:46:21 -07:00
Makefile.am Install header during post-build rather than post-install. 2014-10-09 12:03:50 -07:00
smb.sh Implemented sharing datasets via SMB using libshare 2012-12-03 09:42:15 -08:00
zconfig.sh Fix zconfig.sh test 9 2014-02-10 15:48:32 -08:00
zfault.sh Disable 90-zfs.rules for test suite 2011-10-11 14:45:37 -07:00
zfs2zol-patch.sed Add script to fix file names in upstream patches 2013-10-29 10:30:43 -07:00
zfs.sh Improve zfs.sh error messages 2014-04-10 14:27:00 -07:00
zimport.sh zpool-create.sh: allow features to be disabled 2014-07-25 11:58:31 -07:00
zpios-sanity.sh Disable 90-zfs.rules for test suite 2011-10-11 14:45:37 -07:00
zpios-survey.sh Add linux zpios support 2010-08-31 13:42:01 -07:00
zpios.sh build: resolve orthographic and other grammatical errors 2013-04-02 10:44:52 -07:00
zpool-create.sh zpool-create.sh: allow features to be disabled 2014-07-25 11:58:31 -07:00