netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] net: strict_strtoul is obsolete, use kstrtoul instead
@ 2013-07-12  6:33 Cosmin Stanescu
  2013-07-12 23:09 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Cosmin Stanescu @ 2013-07-12  6:33 UTC (permalink / raw)
  To: davem
  Cc: sergei.shtylyov, dhowells, ebiederm, rusty, serge.hallyn, netdev,
	Cosmin Stanescu

patch found using checkpatch.pl

Signed-off-by: Cosmin Stanescu <cosmin90stanescu@gmail.com>
---
Changes since v1:
	* fixed user-name in commit message
 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] net: strict_strtoul is obsolete, use kstrtoul instead
  2013-07-12  6:33 [PATCH v2] net: strict_strtoul is obsolete, use kstrtoul instead Cosmin Stanescu
@ 2013-07-12 23:09 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2013-07-12 23:09 UTC (permalink / raw)
  To: cosmin90stanescu
  Cc: sergei.shtylyov, dhowells, ebiederm, rusty, serge.hallyn, netdev

From: Cosmin Stanescu <cosmin90stanescu@gmail.com>
Date: Fri, 12 Jul 2013 09:33:33 +0300

> patch found using checkpatch.pl
> 
> Signed-off-by: Cosmin Stanescu <cosmin90stanescu@gmail.com>

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-12 23:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-12  6:33 [PATCH v2] net: strict_strtoul is obsolete, use kstrtoul instead Cosmin Stanescu
2013-07-12 23:09 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).