Re: [PATCH 1/5] add DEFINE_LOGLEVEL_SETUP v3

From: H. Peter Anvin
Date: Tue Sep 16 2008 - 17:56:47 EST


Yinghai Lu wrote:
On Tue, Sep 16, 2008 at 2:18 PM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
Yinghai Lu wrote:
will come out one new version that hpa likes

printk(KERN_PCI KERN_DEBUG "sadfasf\n");

Come to think about it, it might help migration pains if we put the prefixes
in the opposite order (KERN_DEBUG KERN_PCI).

according to the code flow, these two is the same... will double check it.


The difference is that things that read the kernel log in userspace will be able to make partial sense of the latter, but not the former. It will thus make the transition smoother.

-hpa
--
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/