net: strict_strtoul is obsolete, use kstrtoul instead
author“Cosmin <cosmin90stanescu@gmail.com>
Fri, 12 Jul 2013 06:33:33 +0000 (09:33 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Jul 2013 23:09:14 +0000 (16:09 -0700)
patch found using checkpatch.pl

Signed-off-by: Cosmin Stanescu <cosmin90stanescu@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dns_resolver/dns_key.c

index 0a69d075779556fa1f8093b2ba6816e7f7d5cb77..f347a2ca7d7e6c5c1f6feae5e8edae91b487500e 100644 (file)
@@ -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;