lkml.org 
[lkml]   [2009]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: printk regression?
Date
On Thu July 2 2009, Joe Perches wrote:
> On Wed, 2009-07-01 at 21:23 -0700, Linus Torvalds wrote:
> >
> > On Wed, 1 Jul 2009, Yinghai Lu wrote:
> > >
> > > [ 75.690022] <7>printing local APIC contents on CPU#0/0:
> >
> > Yes. This is because the io_apic code should be fixed.
> >
> > It does:
> >
> > printk("\n" KERN_DEBUG "printing local APIC
> >
> > and that "\n" at the beginning should just be deleted. The log-level
> > should be at the beginning of the printk, not in the middle.
>
> There's at least 72 of them:
>
> $ grep -Pr --include=*.[ch] "\bprintk.*\\\n.*KERN_" *
>

That should qualify it as a documented feature. ;)
"To convert the log level marker into visible garbage, do..."

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




\
 
 \ /
  Last update: 2009-07-02 14:31    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site