]> git.proxmox.com Git - mirror_ovs.git/commit
checkpatch: Enforce bracing around conditionals.
authorJoe Stringer <joe@ovn.org>
Thu, 17 Aug 2017 21:26:27 +0000 (14:26 -0700)
committerJoe Stringer <joe@ovn.org>
Mon, 21 Aug 2017 18:41:53 +0000 (11:41 -0700)
commit3f9e248f6ea57b1b32c35f6e1803c4cadd557220
treeb158774dc70a282ad608de6f551ebfb889701beb
parent63d91afa92ef602fb2abcae1281910966d88d2b7
checkpatch: Enforce bracing around conditionals.

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 <joe@ovn.org>
Acked-by: Aaron Conole <aconole@redhat.com>
utilities/checkpatch.py