From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751842AbdFEKW6 (ORCPT ); Mon, 5 Jun 2017 06:22:58 -0400 Received: from ozlabs.org ([103.22.144.67]:34211 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751293AbdFEKVs (ORCPT ); Mon, 5 Jun 2017 06:21:48 -0400 X-powerpc-patch-notification: thanks X-powerpc-patch-commit: 3c29b6038828c1f4c9ecbfec14d4fc5e25f1c947 In-Reply-To: <20170310103701.850816799B@localhost.localdomain> To: Christophe Leroy , Benjamin Herrenschmidt , Paul Mackerras , Scott Wood From: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: powerpc/8xx: fix mpc8xx_get_irq() return on no irq Message-Id: <3wh9pg11fbz9s7B@ozlabs.org> Date: Mon, 5 Jun 2017 20:21:47 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2017-03-10 at 10:37:01 UTC, Christophe Leroy wrote: > IRQ 0 is a valid HW interrupt. So get_irq() shall return 0 when > there is no irq, instead of returning irq_linear_revmap(... ,0) > > Fixes: f2a0bd3753dad ("[POWERPC] 8xx: powerpc port of core CPM PIC") > Signed-off-by: Christophe Leroy Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/3c29b6038828c1f4c9ecbfec14d4fc cheers