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-Tag: v2.6.20-rc7~50^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ded84bcb246780137ecaa3f6d137ac1b0f06fd08;p=linux-2.6-omap-h63xx.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 056c1e4141b..6f5de438b98 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));