]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
[SPARC]: envctrl: ERR_PTR() --> PTR_ERR()
authorDavid S. Miller <davem@davemloft.net>
Tue, 9 Aug 2005 21:43:14 +0000 (14:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Aug 2005 21:43:14 +0000 (14:43 -0700)
Fix thinko in Christoph's changes.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/sbus/char/envctrl.c

index 1247f81a3278f8808492978a0683e792dd332837..d765cc1bf060bc30d17e1e3ba78d01429dedf457 100644 (file)
@@ -1117,7 +1117,7 @@ done:
 
        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;
        }