From: Greg KH <gregkh@linuxfoundation.org>
To: Navya Sri Nizamkari <navyasri.tech@gmail.com>
Cc: outreachy-kernel@googlegroups.com
Subject: Re: [Outreachy kernel] [PATCH v4] Convert simple_strtoul to kstrtoul
Date: Thu, 26 Feb 2015 13:48:45 -0800 [thread overview]
Message-ID: <20150226214845.GA1389@kroah.com> (raw)
In-Reply-To: <1424441776-20373-1-git-send-email-navyasri.tech@gmail.com>
On Fri, Feb 20, 2015 at 07:46:16PM +0530, Navya Sri Nizamkari wrote:
> This patch fixes the checkpatch.pl warning:
> simple_strtoul is obsolete, use kstrtoul instead.
>
> Replaced simple_strtoul with kstrtoul as both can perform parsing error
> checks on the string to the converted. The parsing error condition for
> simple_strtoul is that the string to be converted is same as the converted
> string, with kstrtoul the return value is non-zero in case of this error.
>
> Signed-off-by: Navya Sri Nizamkari <navyasri.tech@gmail.com>
> ---
> Changes in v4:
> -Updated commit explanation to be more generic.
>
> drivers/staging/media/parport/bw-qcam.c | 4 +---
This file is no longer in Linus's tree :(
prev parent reply other threads:[~2015-02-26 21:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-20 14:16 [PATCH v4] Convert simple_strtoul to kstrtoul Navya Sri Nizamkari
2015-02-26 21:48 ` Greg KH [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150226214845.GA1389@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=navyasri.tech@gmail.com \
--cc=outreachy-kernel@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.