Joe Stringer <j...@ovn.org> writes:

> The coding style states that BSD-style brace placement should be used,
> and even single statements should be enclosed. Add checks to checkpatch
> for this, particularly for 'else' statements.
>
> Signed-off-by: Joe Stringer <j...@ovn.org>
> ---

Acked-by: Aaron Conole <acon...@redhat.com>


Interestingly - if I do:

  $ find lib/ -name \*.c -exec ./utilities/checkpatch.py -f {} \; | \
         grep bracing | wc -l

before this patch: 92 instances of 'Inappropriate bracing'
after this patch: 102 instances of 'Inappropriate bracing'

-Aaron
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to