[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070828204203.GA3258@martell.zuzino.mipt.ru>
Date: Wed, 29 Aug 2007 00:42:03 +0400
From: Alexey Dobriyan <adobriyan@...il.com>
To: "Robert P. J. Day" <rpjday@...dspring.com>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
trivial@...nel.org
Subject: Re: [PATCH] Add documentation to some preprocessor directives in init/*.c.
On Tue, Aug 28, 2007 at 01:56:24AM -0400, Robert P. J. Day wrote:
> Add some documentation to potentially confusing preprocessor
> directives in some source files in the init/ directory to show their
> proper association and nesting.
> --- a/init/calibrate.c
> +++ b/init/calibrate.c
> @@ -101,7 +101,7 @@ static unsigned long __devinit calibrate_delay_direct(void)
> "estimate for loops_per_jiffy.\nProbably due to long platform interrupts. Consider using \"lpj=\" boot option.\n");
> return 0;
> }
> -#else
> +#else /* !ARCH_HAS_READ_CURRENT_TIMER */
> static unsigned long __devinit calibrate_delay_direct(void) {return 0;}
> #endif
I'm sorry, but this is not useful. You're adding comments and compiler
ignores comments. So, one can't rely on such comments being accurate and
will go to start of section for recheck anyway.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists