From: Ian Campbell Subject: Re: [PATCH 02/13] xen: fix error handling path if xen_allocate_irq_dynamic fails Date: Fri, 1 Feb 2013 11:26:26 +0000 Message-ID: <1359717986.9063.30.camel@dagon.hellion.org.uk> References: <1359643627-29486-1-git-send-email-wei.liu2@citrix.com> <1359643627-29486-3-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1359643627-29486-3-git-send-email-wei.liu2@citrix.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: Wei Liu Cc: "konrad.wilk@oracle.com" , David Vrabel , "jbeulich@suse.com" , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Thu, 2013-01-31 at 14:46 +0000, Wei Liu wrote: > It is possible that the call to xen_allocate_irq_dynamic() returns negative > number other than -1. Hopefully this means it always returns -ERRNO, rather than a mixture of -ERRNO and literal -1? Ian.