lkml.org 
[lkml]   [2011]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 21/25] kernel/module: replace DEBUGP with pr_debug
Date
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(-)


\
 
 \ /
  Last update: 2011-12-07 02:11    [W:0.110 / U:0.684 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site