From: Geert Uytterhoeven Date: Thu, 21 Dec 2006 12:57:16 +0000 (+0100) Subject: [POWERPC] ps3_free_io_irq: Fix inverted error check X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ded84bcb246780137ecaa3f6d137ac1b0f06fd08;p=openwrt%2Fstaging%2Fblogic.git [POWERPC] ps3_free_io_irq: Fix inverted error check ps3_free_io_irq: Fix inverted error check after calling lv1_destruct_io_irq_outlet(). Signed-off-by: Geert Uytterhoeven Signed-off-by: Paul Mackerras --- diff --git a/arch/powerpc/platforms/ps3/interrupt.c b/arch/powerpc/platforms/ps3/interrupt.c index 056c1e4141ba..6f5de438b980 100644 --- a/arch/powerpc/platforms/ps3/interrupt.c +++ b/arch/powerpc/platforms/ps3/interrupt.c @@ -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));