diff options
author | “Cosmin <cosmin90stanescu@gmail.com> | 2013-07-12 08:33:33 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-07-13 01:09:14 +0200 |
commit | 92338dc2fb33c8526256a458a520af73d9ab2d14 (patch) | |
tree | cc22c849786fe20b12946413103bead84b15898e /net | |
parent | drivers/net/ieee802154: don't use devm_pinctrl_get_select_default() in probe (diff) | |
download | linux-92338dc2fb33c8526256a458a520af73d9ab2d14.tar.xz linux-92338dc2fb33c8526256a458a520af73d9ab2d14.zip |
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')
-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 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; |