Re: [PATCH] CodingStyle: proscribe do-while without braces.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>
Cc: Krzysztof Halasa <khc@...>, <linux-kernel@...>, Linus Torvalds <torvalds@...>, <linux-sparse@...>
Date: Friday, July 27, 2007 - 2:52 pm

On Fri, 2007-07-27 at 11:27 -0700, Andrew Morton wrote:

I didn't just submit the patch because Sparse warns about it.  I
submitted the patch because of the coding style preference that led to
the Sparse warning.

Also, if this really *shouldn't* form part of the kernel style, then the
kernel should use -Wno-do-while with -Wall, or should stop using -Wall.

That said, I don't care all that much about the patch, so I won't push
further for it one way or another.

- Josh Triplett


-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] CodingStyle: proscribe do-while without braces., Josh Triplett, (Thu Jul 26, 5:37 pm)
Re: [PATCH] CodingStyle: proscribe do-while without braces., Krzysztof Halasa, (Thu Jul 26, 8:18 pm)
Re: [PATCH] CodingStyle: proscribe do-while without braces., Krzysztof Halasa, (Fri Jul 27, 12:00 pm)
Re: [PATCH] CodingStyle: proscribe do-while without braces., Josh Triplett, (Fri Jul 27, 2:52 pm)
Re: [PATCH] CodingStyle: proscribe do-while without braces., Krzysztof Halasa, (Fri Jul 27, 1:44 pm)