Re: [PATCH v2] Documentation/CodingStyle: Add an example for braces

From: Gary R Hook
Date: Mon Mar 26 2018 - 12:28:16 EST


On 03/22/2018 04:12 AM, Jani Nikula wrote:
On Wed, 21 Mar 2018, Jonathan Corbet <corbet@xxxxxxx> wrote:
To head that off, I think I'll apply your first version instead, sorry
Jani.

No worries.


Submitting a v3 because the example could better illuminate the options by using loop construct inside of an if, addressing Jani's point but without opening the door to later criticism.

I also like the verbage in v2/3 better, but I'll let Jonathan make the call.

BTW which tree should these be developed against? I used torvalds, but I'm not entirely sure that was the proper one?

Gary