From: “Cosmin Date: Fri, 12 Jul 2013 06:33:33 +0000 (+0300) Subject: net: strict_strtoul is obsolete, use kstrtoul instead X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=92338dc2fb33c8526256a458a520af73d9ab2d14;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git net: strict_strtoul is obsolete, use kstrtoul instead patch found using checkpatch.pl Signed-off-by: Cosmin Stanescu Signed-off-by: David S. Miller --- diff --git a/net/dns_resolver/dns_key.c b/net/dns_resolver/dns_key.c index 0a69d0757795..f347a2ca7d7e 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;