diff options
author | “Cosmin <cosmin90stanescu@gmail.com> | 2013-07-12 02:33:33 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-07-12 19:09:14 -0400 |
commit | 92338dc2fb33c8526256a458a520af73d9ab2d14 (patch) | |
tree | cc22c849786fe20b12946413103bead84b15898e | |
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>
-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) | |||
118 | if (opt_vlen <= 0) | 118 | if (opt_vlen <= 0) |
119 | goto bad_option_value; | 119 | goto bad_option_value; |
120 | 120 | ||
121 | ret = strict_strtoul(eq, 10, &derrno); | 121 | ret = kstrtoul(eq, 10, &derrno); |
122 | if (ret < 0) | 122 | if (ret < 0) |
123 | goto bad_option_value; | 123 | goto bad_option_value; |
124 | 124 | ||