[PATCH 05/11] params: add param-name to parse_one's pr_debug()
From: jim . cromie
Date: Wed Mar 14 2012 - 19:02:40 EST
From: Jim Cromie <jim.cromie@xxxxxxxxx>
Current message doesnt identify the param being handled, add it.
Signed-off-by: Jim Cromie <jim.cromie@xxxxxxxxx>
---
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
--
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/