From: Ian Campbell Subject: Re: [PATCH for-4.5 2/8] xen/arm: setup_dt_irq: don't enable the IRQ if the creation has failed Date: Wed, 12 Mar 2014 14:48:38 +0000 Message-ID: <1394635718.21145.100.camel@kazak.uk.xensource.com> References: <1390581822-32624-1-git-send-email-julien.grall@linaro.org> <1390581822-32624-3-git-send-email-julien.grall@linaro.org> <1392809045.23084.140.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WNkSa-0003ss-Bg for xen-devel@lists.xenproject.org; Wed, 12 Mar 2014 14:48:44 +0000 In-Reply-To: <1392809045.23084.140.camel@kazak.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: xen-devel@lists.xenproject.org, tim@xen.org, stefano.stabellini@citrix.com, patches@linaro.org List-Id: xen-devel@lists.xenproject.org On Wed, 2014-02-19 at 11:24 +0000, Ian Campbell wrote: > On Fri, 2014-01-24 at 16:43 +0000, Julien Grall wrote: > > For now __setup_dt_irq can only fail if the action is already set. If in the > > future, the function is updated we don't want to enable the IRQ. > > > > Assuming the function can fail with action = NULL, when Xen will receive the > > IRQ it will segfault because do_IRQ doesn't check if action is NULL. > > > > Signed-off-by: Julien Grall > > Acked-by: Ian Campbell applied just this one for now. I'm picking up trivial looking stuff from my queue I'll revisit the rest in my next pass.