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

From: Rusty Russell
Date: Tue Dec 06 2011 - 20:09:38 EST


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.

I reused the same commit message for the second patch,
with minor mods:

From: Jim Cromie <jim.cromie@xxxxxxxxx>
Subject: kernel/params: replace DEBUGP with pr_debug
Date: Tue, 6 Dec 2011 12:11:31 -0700

Use more flexible pr_debug. This allows:

echo "module params +p" > /dbg/dynamic_debug/control

to turn on debug messages when needed.

Signed-off-by: Jim Cromie <jim.cromie@xxxxxxxxx>
Signed-off-by: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
---
kernel/params.c | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
--
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/