提交 92338dc2 编写于 作者: “Cosmin 提交者: David S. Miller

net: strict_strtoul is obsolete, use kstrtoul instead

patch found using checkpatch.pl
Signed-off-by: NCosmin Stanescu <cosmin90stanescu@gmail.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 fdb70270
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册