Skip to content

Commit

Permalink
[POWERPC] ps3_free_io_irq: Fix inverted error check
Browse files Browse the repository at this point in the history
ps3_free_io_irq: Fix inverted error check after calling
lv1_destruct_io_irq_outlet().

Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Geert Uytterhoeven authored and Paul Mackerras committed Jan 24, 2007
1 parent 63ea9c1 commit ded84bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/ps3/interrupt.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ int ps3_free_io_irq(unsigned int virq)

result = lv1_destruct_io_irq_outlet(virq_to_hw(virq));

if (!result)
if (result)
pr_debug("%s:%d: lv1_destruct_io_irq_outlet failed: %s\n",
__func__, __LINE__, ps3_result(result));

Expand Down

0 comments on commit ded84bc

Please sign in to comment.