From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Vrabel Subject: Re: [tip:irq/core] xen: Get rid of the last irq_desc abuse Date: Tue, 4 Mar 2014 17:16:01 +0000 Message-ID: <53160A51.5090905__48940.6664776199$1393953488$gmane$org@citrix.com> References: <20140223212738.579581220@linutronix.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WKsx0-00072s-Pi for xen-devel@lists.xenproject.org; Tue, 04 Mar 2014 17:16:18 +0000 In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: mingo@kernel.org, hpa@zytor.com, linux-kernel@vger.kernel.org, konrad.wilk@oracle.com, peterz@infradead.org, xen-devel@lists.xenproject.org, tglx@linutronix.de, david.vrabel@citrix.com Cc: tip-bot for Thomas Gleixner , linux-tip-commits@vger.kernel.org List-Id: xen-devel@lists.xenproject.org On 04/03/14 16:41, tip-bot for Thomas Gleixner wrote: > Commit-ID: 02893afdd310fab8f41f6afbe5233c6609ec19ed > Gitweb: http://git.kernel.org/tip/02893afdd310fab8f41f6afbe5233c6609ec19ed > Author: Thomas Gleixner > AuthorDate: Sun, 23 Feb 2014 21:40:20 +0000 > Committer: Thomas Gleixner > CommitDate: Tue, 4 Mar 2014 17:37:53 +0100 > > xen: Get rid of the last irq_desc abuse > > Warn if any PIRQ cannot be bound to an event channel. Remove the check > for irq_desc->action. This hypercall never fails in practice so we can > emit a warning unconditionally. > > Remove a check for a valid irq desc. The only caller of > xen_destroy_irq() will only do so if the irq was previously fully > setup, which means the descriptor has been allocated as well. Reviewed-by: David Vrabel Thanks. David