Re: [PATCH 21/25] kernel/module: replace DEBUGP with pr_debug

From: Jason Baron
Date: Thu Dec 08 2011 - 10:41:40 EST


On Wed, Dec 07, 2011 at 11:37:52AM +1030, Rusty Russell wrote:
> On Tue, 6 Dec 2011 12:11:31 -0700, jim.cromie@xxxxxxxxx wrote:
> > From: Jim Cromie <jim.cromie@xxxxxxxxx>
> >
> > Use more flexible pr_debug. This allows:
> >
> > echo "module module +p" > /dbg/dynamic_debug/control
> >
> > to turn on debug messages when needed.
> >
> > Signed-off-by: Jim Cromie <jim.cromie@xxxxxxxxx>
> > ---
> > kernel/module.c | 44 +++++++++++++++++++-------------------------
> > kernel/params.c | 14 ++++----------
> > 2 files changed, 23 insertions(+), 35 deletions(-)
>
> Split into 2 and applied. This is a win, independent of the rest.
>

Probably also want to pick up patch 1 in the series too, which actually allows
this one to build ;)

Thanks,

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