tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Newbie Kernel Programmer looking for first project.



On Thu, Jul 03, 2008 at 01:36:10PM -0700, Michael Litchard wrote:
> When I see a pattern like this:
> 
> #idef DEBUG
>    printf("foo"...);
> #endif
> 
> I replace those three line with
>    aprint_debug("foo...");

Don't. DEBUG code is generally not compiled in for a good reason.
Even more involved is the question of what should be printed by default.
Most drivers are way too verbose by default.

Joerg


Home | Main Index | Thread Index | Old Index