diff options
author | David S. Miller <davem@davemloft.net> | 2005-08-09 14:43:14 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-08-09 14:43:14 -0700 |
commit | 38c1844b3120e04b7f5bb9c18ebbc19883d1e1d6 (patch) | |
tree | 62b5387a79777395af440f0fcb601eb692feb2aa /drivers/sbus/char/envctrl.c | |
parent | 4875ccdb304775e9fd830f644643a1513357e043 (diff) | |
download | kernel_samsung_smdk4412-38c1844b3120e04b7f5bb9c18ebbc19883d1e1d6.zip kernel_samsung_smdk4412-38c1844b3120e04b7f5bb9c18ebbc19883d1e1d6.tar.gz kernel_samsung_smdk4412-38c1844b3120e04b7f5bb9c18ebbc19883d1e1d6.tar.bz2 |
[SPARC]: envctrl: ERR_PTR() --> PTR_ERR()
Fix thinko in Christoph's changes.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/sbus/char/envctrl.c')
-rw-r--r-- | drivers/sbus/char/envctrl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sbus/char/envctrl.c b/drivers/sbus/char/envctrl.c index 1247f81..d765cc1 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; } |