Messages in this thread Patch in this message | | | From | jim.cromie@gmail ... | Subject | [PATCH 05/11] params: add param-name to parse_one's pr_debug() | Date | Wed, 14 Mar 2012 17:02:00 -0600 |
| |
From: Jim Cromie <jim.cromie@gmail.com>
Current message doesnt identify the param being handled, add it.
Signed-off-by: Jim Cromie <jim.cromie@gmail.com> --- kernel/params.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/params.c b/kernel/params.c index f37d826..10eb451 100644 --- a/kernel/params.c +++ b/kernel/params.c @@ -104,8 +104,8 @@ static int parse_one(char *param, if (!val && params[i].ops->set != param_set_bool && params[i].ops->set != param_set_bint) return -EINVAL; - pr_debug("They are equal! Calling %p\n", - params[i].ops->set); + pr_debug("handling %s with %p\n", param, + params[i].ops->set); mutex_lock(¶m_lock); err = params[i].ops->set(val, ¶ms[i]); mutex_unlock(¶m_lock); -- 1.7.7.6
| |