mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
net: strict_strtoul is obsolete, use kstrtoul instead
patch found using checkpatch.pl Signed-off-by: Cosmin Stanescu <cosmin90stanescu@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
fdb7027001
commit
92338dc2fb
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user