From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from outbound8-blu-R.bigfish.com (outbound-blu.frontbridge.com [65.55.251.16]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.bigfish.com", Issuer "*.bigfish.com" (not verified)) by ozlabs.org (Postfix) with ESMTP id 01677DDE3D for ; Sat, 13 Jan 2007 04:16:25 +1100 (EST) Message-ID: <45A7C260.3010101@am.sony.com> Date: Fri, 12 Jan 2007 09:16:16 -0800 From: Geoff Levand MIME-Version: 1.0 To: Paul Mackerras Subject: Re: [PATCH] ps3_free_io_irq: inverted error check References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Cc: Geert Uytterhoeven , Linux/PPC Development List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Geert Uytterhoeven wrote: > ps3_free_io_irq: Fix inverted error check after calling > lv1_destruct_io_irq_outlet() > > Signed-off-by: Geert Uytterhoeven > > --- > arch/powerpc/platforms/ps3/interrupt.c | 2 +- > 1 files changed, 1 insertion(+), 1 deletion(-) > > --- ps3-linux-src.orig/arch/powerpc/platforms/ps3/interrupt.c > +++ ps3-linux-src/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)); > > Paul, If you don't see any trouble, it would be nice for this to go in for 2.6.20, as it fixes a problem currently in Linus' tree. Sorry it took so long to merge in and test. Acked-by: Geoff Levand -Geoff