Messages in this thread | | | From | Rusty Russell <> | Subject | Re: [PATCH 21/25] kernel/module: replace DEBUGP with pr_debug | Date | Wed, 07 Dec 2011 11:37:52 +1030 |
| |
On Tue, 6 Dec 2011 12:11:31 -0700, jim.cromie@gmail.com wrote: > From: Jim Cromie <jim.cromie@gmail.com> > > 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@gmail.com> > --- > 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@gmail.com> 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@gmail.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> --- kernel/params.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-)
| |