mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-18 20:06:12 +07:00
[SPARC]: envctrl: ERR_PTR() --> PTR_ERR()
Fix thinko in Christoph's changes. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4875ccdb30
commit
38c1844b31
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user