Re: [ovs-dev] [PATCH] utilities/checkpatch.py: Check for appropriate bracing

2016-05-20 Thread Ben Pfaff
On Fri, May 20, 2016 at 11:52:59AM -0400, Aaron Conole wrote: > Teach checkpatch.py to understand that if/for/while blocks should always > end with braces on the same line (if possible). This does not address > multi-line if/for/while blocks, but provides a point where such blocks > could be added.

[ovs-dev] [PATCH] utilities/checkpatch.py: Check for appropriate bracing

2016-05-20 Thread Aaron Conole
Teach checkpatch.py to understand that if/for/while blocks should always end with braces on the same line (if possible). This does not address multi-line if/for/while blocks, but provides a point where such blocks could be added. Signed-off-by: Aaron Conole --- utilities/checkpatch.py | 30 +