From: Ian Campbell Subject: Re: [GIT PULL] pv/pcifront-2.6.32 Date: Tue, 2 Mar 2010 09:21:55 +0000 Message-ID: <1267521715.11737.23106.camel@zakaz.uk.xensource.com> References: <20100302031217.GB881@phenom.dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20100302031217.GB881@phenom.dumpdata.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Konrad Rzeszutek Wilk Cc: Jeremy Fitzhardinge , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Tue, 2010-03-02 at 03:12 +0000, Konrad Rzeszutek Wilk wrote: > > Ian Campbell (1): > xen: fix off-by-one error in find_unbound_irq You need to add this commit if you include the above: commit 716645983e03118d11924cc245cd63fd67c6bfa8 Author: Ian Campbell Date: Mon Mar 1 12:06:15 2010 +0000 xen: fix error handling in in find_unbound_irq 68458a36 "fix off-by-one error in find_unbound_irq" introduced an issue with the error handling in this function. It incorrectly assumed that exiting the searhc loop with irq == nr_irqs - 1 was an error case when in fact it is prefectly possible for irq == nr_irqs - 1 to be an available IRQ. The actual error condition which 68458a36 tried to fix is when start == nr_irqs, IOW when there is literaly no interrupts which aren't already h/w interrupts.