* Some generall questions...
@ 2005-07-15 20:36 Janosch Machowinski
[not found] ` <42D81E3F.7060507-cGBD8117FJM@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Janosch Machowinski @ 2005-07-15 20:36 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hey,
I got 2 questions :
First, are we supporting some architecture, that does not support the
hlt instruction ??
And the second one, is it diswanted to write comments in the kernel
source, or are most programmers just to lazy to do it ?
Thx
Janosch
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Some generall questions...
[not found] ` <42D81E3F.7060507-cGBD8117FJM@public.gmane.org>
@ 2005-07-15 21:19 ` randy_dunlap
0 siblings, 0 replies; 2+ messages in thread
From: randy_dunlap @ 2005-07-15 21:19 UTC (permalink / raw)
To: Janosch Machowinski; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Fri, 15 Jul 2005 22:36:15 +0200 Janosch Machowinski wrote:
> Hey,
> I got 2 questions :
> First, are we supporting some architecture, that does not support the
> hlt instruction ??
No idea.
> And the second one, is it diswanted to write comments in the kernel
> source, or are most programmers just to lazy to do it ?
a. we don't want comments for obvious language constructs, e.g.,
don't do this:
err_count++; /* increment the error count */
b. it seems to be a challenge sometimes to get good comments and to
keep comments and code synchronized. :(
But comments are generally a good thing, so that someone can understand
the intent of some code or how it's accomplished, if it's tricky.
And when adding new globally-visible functions, please use the
kerneldoc format for them (see linux/Documentation/kernel-doc-nano-HOWTO.txt).
---
~Randy
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-07-15 21:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-15 20:36 Some generall questions Janosch Machowinski
[not found] ` <42D81E3F.7060507-cGBD8117FJM@public.gmane.org>
2005-07-15 21:19 ` randy_dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox