summaryrefslogtreecommitdiffstats
path: root/net/dns_resolver/dns_key.c
diff options
context:
space:
mode:
author“Cosmin <cosmin90stanescu@gmail.com>2013-07-12 09:33:33 +0300
committerDavid S. Miller <davem@davemloft.net>2013-07-12 16:09:14 -0700
commit92338dc2fb33c8526256a458a520af73d9ab2d14 (patch)
treecc22c849786fe20b12946413103bead84b15898e /net/dns_resolver/dns_key.c
parentfdb70270015466076846a0525f195f59849c1966 (diff)
downloadop-kernel-dev-92338dc2fb33c8526256a458a520af73d9ab2d14.zip
op-kernel-dev-92338dc2fb33c8526256a458a520af73d9ab2d14.tar.gz
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/dns_key.c')
-rw-r--r--net/dns_resolver/dns_key.c2
1 files changed, 1 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud