From: Cosmin Stanescu <cosmin90stanescu@gmail.com>
To: davem@davemloft.net
Cc: sergei.shtylyov@cogentembedded.com, dhowells@redhat.com,
ebiederm@xmission.com, rusty@rustcorp.com.au,
serge.hallyn@canonical.com, netdev@vger.kernel.org,
Cosmin Stanescu <cosmin90stanescu@gmail.com>
Subject: [PATCH v2] net: strict_strtoul is obsolete, use kstrtoul instead
Date: Fri, 12 Jul 2013 09:33:33 +0300 [thread overview]
Message-ID: <1373610813-11229-1-git-send-email-cosmin90stanescu@gmail.com> (raw)
patch found using checkpatch.pl
Signed-off-by: Cosmin Stanescu <cosmin90stanescu@gmail.com>
---
Changes since v1:
* fixed user-name in commit message
net/dns_resolver/dns_key.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/dns_resolver/dns_key.c b/net/dns_resolver/dns_key.c
index 0a69d07..f347a2c 100644
--- a/net/dns_resolver/dns_key.c
+++ b/net/dns_resolver/dns_key.c
@@ -118,7 +118,7 @@ dns_resolver_instantiate(struct key *key, struct key_preparsed_payload *prep)
if (opt_vlen <= 0)
goto bad_option_value;
- ret = strict_strtoul(eq, 10, &derrno);
+ ret = kstrtoul(eq, 10, &derrno);
if (ret < 0)
goto bad_option_value;
--
1.7.10.4
next reply other threads:[~2013-07-12 6:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-12 6:33 Cosmin Stanescu [this message]
2013-07-12 23:09 ` [PATCH v2] net: strict_strtoul is obsolete, use kstrtoul instead David Miller
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=1373610813-11229-1-git-send-email-cosmin90stanescu@gmail.com \
--to=cosmin90stanescu@gmail.com \
--cc=davem@davemloft.net \
--cc=dhowells@redhat.com \
--cc=ebiederm@xmission.com \
--cc=netdev@vger.kernel.org \
--cc=rusty@rustcorp.com.au \
--cc=serge.hallyn@canonical.com \
--cc=sergei.shtylyov@cogentembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).