lkml.org 
[lkml]   [2012]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 05/16] params: add param-name to parse_one's pr_debug()
    Date
    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(&param_lock);
    err = params[i].ops->set(val, &params[i]);
    mutex_unlock(&param_lock);
    --
    1.7.7.6


    \
     
     \ /
      Last update: 2012-03-26 01:31    [W:0.023 / U:0.020 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site