Skip to contentSkip to conversation

strict_strtoul in (obsolete) changed to kstrtoul

PATCH In review “Cosmin 2 participants 2 messages Jul 11, 2013

Subsystems (2)
lore
Share & tools
lore

“Cosmin

author
#0 lore raw

PATCH 1/1 strict_strtoul in (obsolete) changed to kstrtoul

---
 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