提交 38c1844b 编写于 作者: D David S. Miller

[SPARC]: envctrl: ERR_PTR() --> PTR_ERR()

Fix thinko in Christoph's changes.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 4875ccdb
......@@ -1117,7 +1117,7 @@ static int __init envctrl_init(void)
kenvctrld_task = kthread_run(kenvctrld, NULL, "kenvctrld");
if (IS_ERR(kenvctrld_task)) {
err = ERR_PTR(kenvctrld_task);
err = PTR_ERR(kenvctrld_task);
goto out_deregister;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册