Re: [PATCH 1/5] add DEFINE_LOGLEVEL_SETUP v3

H. Peter Anvin
2008-09-16T21:56:41Z

Yinghai Lu wrote:
> On Tue, Sep 16, 2008 at 2:18 PM, H. Peter Anvin <hpa@zytor.com> 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