[ovs-dev] [PATCHv2] checkpatch: Enforce bracing around conditionals.

2017-08-17 Thread Joe Stringer
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 --- v2: Combine in same check as if_and_for_end_with_bracket_check --- utilitie

Re: [ovs-dev] [PATCHv2] checkpatch: Enforce bracing around conditionals.

2017-08-21 Thread Aaron Conole
Joe Stringer 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 > --- Acked-by: Aaron Conole Interestingly -

Re: [ovs-dev] [PATCHv2] checkpatch: Enforce bracing around conditionals.

2017-08-21 Thread Joe Stringer
On 21 August 2017 at 06:31, Aaron Conole wrote: > Joe Stringer 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 S