projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdb7027
)
net: strict_strtoul is obsolete, use kstrtoul instead
author
“Cosmin
<cosmin90stanescu@gmail.com>
Fri, 12 Jul 2013 06:33:33 +0000
(09:33 +0300)
committer
David S. Miller
<davem@davemloft.net>
Fri, 12 Jul 2013 23:09:14 +0000
(16:09 -0700)
patch found using checkpatch.pl
Signed-off-by: Cosmin Stanescu <cosmin90stanescu@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dns_resolver/dns_key.c
patch
|
blob
|
blame
|
history
diff --git
a/net/dns_resolver/dns_key.c
b/net/dns_resolver/dns_key.c
index 0a69d075779556fa1f8093b2ba6816e7f7d5cb77..f347a2ca7d7e6c5c1f6feae5e8edae91b487500e 100644
(file)
--- 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 =
k
strtoul(eq, 10, &derrno);
if (ret < 0)
goto bad_option_value;