[PATCH] strict_strtoul in (obsolete) changed to kstrtoul

Subsystems: networking [general], the rest

STALE4808d

2 messages, 2 authors, 2013-07-11 · open the first message on its own page

[PATCH] strict_strtoul in (obsolete) changed to kstrtoul

From: “Cosmin <hidden>
Date: 2013-07-11 06:53:08

Signed-off-by: “Cosmin <“cosmin90stanescu@gmail.com”>
---
 net/dns_resolver/dns_key.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/dns_resolver/dns_key.c b/net/dns_resolver/dns_key.c
index 0a69d07..f347a2c 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)
 				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;
 
-- 
1.7.10.4

Re: [PATCH] strict_strtoul in (obsolete) changed to kstrtoul

From: Sergei Shtylyov <hidden>
Date: 2013-07-11 12:09:55

Hello.

On 11-07-2013 10:52, “Cosmin wrote:
Signed-off-by: “Cosmin <“cosmin90stanescu@gmail.com”>
    Real name is required in signoff. Quotes are not necessary.

WBR, Sergei
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help