net: strict_strtoul is obsolete, use kstrtoul instead
Subsystems (2)
PATCH v2 1/1 net: strict_strtoul is obsolete, use kstrtoul instead
patch found using checkpatch.pl
Signed-off-by Cosmin Stanescu <[email protected]>
---
Changes since v1:
* fixed user-name in commit message
net/dns_resolver/dns_key.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/dns_resolver/dns_key.c +1 -1
@@ -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;
Signature · 1 line
1.7.10.4
David Miller
AppliedFrom: Cosmin Stanescu <[email protected]>
Date: Fri, 12 Jul 2013 09:33:33 +0300
Quoted 3 lines
patch found using checkpatch.pl
Signed-off-by Cosmin Stanescu <[email protected]>
Applied, thanks.