From: David S. Miller Date: Tue, 9 Aug 2005 21:43:14 +0000 (-0700) Subject: [SPARC]: envctrl: ERR_PTR() --> PTR_ERR() X-Git-Tag: v2.6.13-rc7~117^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=38c1844b3120e04b7f5bb9c18ebbc19883d1e1d6;p=linux-2.6-omap-h63xx.git [SPARC]: envctrl: ERR_PTR() --> PTR_ERR() Fix thinko in Christoph's changes. Signed-off-by: David S. Miller --- diff --git a/drivers/sbus/char/envctrl.c b/drivers/sbus/char/envctrl.c index 1247f81a327..d765cc1bf06 100644 --- 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; }