Re: [PATCH 0/8] replacing/fixing printk with pr_debug/pr_info inarch/i386 - intro

From: Andi Kleen
Date: Sun Oct 17 2004 - 15:36:11 EST


Ingo Molnar <mingo@xxxxxxx> writes:
>
> 2) i dont like the pr_print name at all. What's wrong with Dprintk or
> dprintk? Just define them in kernel.h, this will also make your patch
> much smaller.

I prefer to declare them in subsystem specific files. This way you
can easily enable/disable debugging for only specific files,
not for everything.

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/