Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 92338dc2 authored by “Cosmin's avatar “Cosmin Committed by David S. Miller
Browse files

net: strict_strtoul is obsolete, use kstrtoul instead



patch found using checkpatch.pl

Signed-off-by: default avatarCosmin Stanescu <cosmin90stanescu@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fdb70270
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;