[lkml]   [2001]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] reformat mtrr.c to conform to CodingStyle
David Weinehall wrote:
> I don't think Lindent does everything 100% correct; at least its
> formatting of switch/case does look a little fishy:
> switch (option) {
> case 1:
> /* blaha */
> That feels kind of odd compared to the rest of the codingstyle.
> Comments?!

hehe now we really get into personal preference.

I like the above case statement style, because I see no value in
additional indentation. The code is presented one level deeper than the
switch statement, which is key. 'case' keywords merely separate the
properly-indented code. IMHO of course :)

Jeff Garzik | Only so many songs can be sung
Building 1024 | with two lips, two lungs, and one tongue.
MandrakeSoft | - nomeansno

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:13    [W:0.070 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site