lkml.org 
[lkml]   [2012]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 2/8] drivers/staging/line6/pod.c: Change strict_strtoul to kstrtoul
    Date
    Changed strict_strtoul() call to kstrtoul to make checkpatch.pl happy

    Signed-off-by: Johannes Thumshirn <morbidrsa@googlemail.com>
    ---
    drivers/staging/line6/pod.c | 6 +++---
    1 files changed, 3 insertions(+), 3 deletions(-)

    diff --git a/drivers/staging/line6/pod.c b/drivers/staging/line6/pod.c
    index 4dadc57..d61b253 100644
    --- a/drivers/staging/line6/pod.c
    +++ b/drivers/staging/line6/pod.c
    @@ -438,7 +438,7 @@ static int pod_resolve(const char *buf, short block0, short block1,
    short block;
    int ret;

    - ret = strict_strtoul(buf, 10, &value);
    + ret = kstrtoul(buf, 10, &value);
    if (ret)
    return ret;

    @@ -563,7 +563,7 @@ static ssize_t pod_set_channel(struct device *dev,
    unsigned long value;
    int ret;

    - ret = strict_strtoul(buf, 10, &value);
    + ret = kstrtoul(buf, 10, &value);
    if (ret)
    return ret;

    @@ -895,7 +895,7 @@ static ssize_t pod_set_midi_postprocess(struct device *dev,
    unsigned long value;
    int ret;

    - ret = strict_strtoul(buf, 10, &value);
    + ret = kstrtoul(buf, 10, &value);
    if (ret)
    return ret;

    --
    1.7.7.6


    \
     
     \ /
      Last update: 2012-05-05 17:01    [W:0.021 / U:31.524 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site