Skip to contentSkip to conversation

net: strict_strtoul is obsolete, use kstrtoul instead

PATCH Applied Cosmin Stanescu 2 participants 2 messages Jul 12, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 net: strict_strtoul is obsolete, use kstrtoul instead

patch found using checkpatch.pl

---
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
index 0a69d07..f347a2c 100644
@@ -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