diff options
author | “Cosmin <cosmin90stanescu@gmail.com> | 2013-07-12 09:33:33 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-07-12 16:09:14 -0700 |
commit | 92338dc2fb33c8526256a458a520af73d9ab2d14 (patch) | |
tree | cc22c849786fe20b12946413103bead84b15898e /net/dns_resolver | |
parent | fdb70270015466076846a0525f195f59849c1966 (diff) |
net: strict_strtoul is obsolete, use kstrtoul instead
patch found using checkpatch.pl
Signed-off-by: Cosmin Stanescu <cosmin90stanescu@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dns_resolver')
-rw-r--r-- | net/dns_resolver/dns_key.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dns_resolver/dns_key.c b/net/dns_resolver/dns_key.c index 0a69d075779..f347a2ca7d7 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; |