Re: [PATCH 1/4] lib/debugobjects.c: convert printk to pr_foo()

From: Fabian Frederick
Date: Tue May 27 2014 - 10:25:57 EST


On Sat, 24 May 2014 20:40:43 -0700
Josh Triplett <josh@xxxxxxxxxxxxxxxx> wrote:

> On Sun, May 25, 2014 at 05:18:36AM +0200, Fabian Frederick wrote:
> > On Sat, 24 May 2014 14:53:22 -0700
> > Josh Triplett <josh@xxxxxxxxxxxxxxxx> wrote:
> >
> > > On Sat, May 24, 2014 at 03:06:08PM +0200, Fabian Frederick wrote:
> > > > Convert all except KERN_DEBUG
> > >
> > > Why not KERN_DEBUG?
> > printk(KERN_DEBUG can't be converted to pr_debug the same way as other printk.
>
> True, but I don't see any obvious reason why that prevents you from
> converting them. More importantly, though, you should explain for the
> benefit of the changelog.

There's no documentation yet in mainline for this but in linux-next:
commit 8ce2658fc31bb7

I can submit one more patch with pr_debug conversion using #define DEBUG
or compilation -DDEBUG

Fabian

>
> - Josh Triplett
--
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/