tree 62b5387a79777395af440f0fcb601eb692feb2aa
parent 4875ccdb304775e9fd830f644643a1513357e043
author David S. Miller <[EMAIL PROTECTED]> Wed, 10 Aug 2005 04:43:14 -0700
committer David S. Miller <[EMAIL PROTECTED]> Wed, 10 Aug 2005 04:43:14 -0700

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

Fix thinko in Christoph's changes.

Signed-off-by: David S. Miller <[EMAIL PROTECTED]>

 drivers/sbus/char/envctrl.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/sbus/char/envctrl.c b/drivers/sbus/char/envctrl.c
--- a/drivers/sbus/char/envctrl.c
+++ b/drivers/sbus/char/envctrl.c
@@ -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;
        }
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to