Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

“Cosmin and committed by
David S. Miller
92338dc2 fdb70270

+1 -1
+1 -1
net/dns_resolver/dns_key.c
··· 118 118 if (opt_vlen <= 0) 119 119 goto bad_option_value; 120 120 121 - ret = strict_strtoul(eq, 10, &derrno); 121 + ret = kstrtoul(eq, 10, &derrno); 122 122 if (ret < 0) 123 123 goto bad_option_value; 124 124