mirror_zfs/lib/libspl
Brian Behlendorf 02730c333c Use cstyle -cpP in make cstyle check
Enable picky cstyle checks and resolve the new warnings.  The vast
majority of the changes needed were to handle minor issues with
whitespace formatting.  This patch contains no functional changes.

Non-whitespace changes are as follows:

* 8 times ; to { } in for/while loop
* fix missing ; in cmd/zed/agents/zfs_diagnosis.c
* comment (confim -> confirm)
* change endline , to ; in cmd/zpool/zpool_main.c
* a number of /* BEGIN CSTYLED */ /* END CSTYLED */ blocks
* /* CSTYLED */ markers
* change == 0 to !
* ulong to unsigned long in module/zfs/dsl_scan.c
* rearrangement of module_param lines in module/zfs/metaslab.c
* add { } block around statement after for_each_online_node

Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Reviewed-by: Håkan Johansson <f96hajo@chalmers.se>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #5465
2016-12-12 10:46:26 -08:00
..
asm-generic Use cstyle -cpP in make cstyle check 2016-12-12 10:46:26 -08:00
asm-i386 Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
asm-x86_64 Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
include Use cstyle -cpP in make cstyle check 2016-12-12 10:46:26 -08:00
getexecname.c Fix coverity defects: CID 150921, 150927 2016-10-14 09:40:08 -07:00
gethrestime.c cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
gethrtime.c cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
getmntany.c Use cstyle -cpP in make cstyle check 2016-12-12 10:46:26 -08:00
list.c Add linux libspl support 2010-08-31 13:41:59 -07:00
Makefile.am ABD optimized page allocation code 2016-11-29 14:34:33 -08:00
mkdirp.c Set errno for mkdirp() called with NULL path ptr 2014-04-09 13:32:22 -07:00
page.c ABD optimized page allocation code 2016-11-29 14:34:33 -08:00
strlcat.c Add linux libspl support 2010-08-31 13:41:59 -07:00
strlcpy.c Add linux libspl support 2010-08-31 13:41:59 -07:00
strnlen.c Add linux libspl support 2010-08-31 13:41:59 -07:00
timestamp.c Set _DATE_FMT to '%+' if not defined in libspl/timestamp.c 2016-03-29 18:33:17 -07:00
zone.c cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00