Re: printk regression?
From: Michael S. Zick
Date: Thu Jul 02 2009 - 08:29:40 EST
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@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
>
--
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/