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

From: Gary R Hook
Date: Mon Mar 26 2018 - 12:50:01 EST


On 03/26/2018 11:32 AM, Jonathan Corbet wrote:
On Mon, 26 Mar 2018 11:28:03 -0500
Gary R Hook <gary.hook@xxxxxxx> wrote:

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.

As I told you, I was applying the first version; I did that last week.

Forgive me; was out of the office. I've seen maintainers comment but not necessarily execute immediately, and therefore I try to learn how each works, but here I made an assumption. No worries and sorry to bother.


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

The MAINTAINERS file will (almost) always answer that question for
you:

T: git git://git.lwn.net/linux.git docs-next

Good point. I should know better by now.

Again, thank you.

Gary