• Brian Behlendorf's avatar
    Use cstyle -cpP in `make cstyle` check · 02730c33
    Brian Behlendorf authored
    
    
    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: default avatarGiuseppe Di Natale <dinatale2@llnl.gov>
    Reviewed-by: default avatarHåkan Johansson <f96hajo@chalmers.se>
    Signed-off-by: default avatarBrian Behlendorf <behlendorf1@llnl.gov>
    Closes #5465
    02730c33
Makefile.am 2.3 KB