From: Ian Jackson Subject: Re: [PATCH v6 07/11] libxl: introduce libxl__alloc_vdev Date: Tue, 22 May 2012 12:11:45 +0100 Message-ID: <20411.29809.793836.281069@mariner.uk.xensource.com> References: <1337350125-30394-7-git-send-email-stefano.stabellini@eu.citrix.com> <20406.24419.849941.504507@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: 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: Stefano Stabellini Cc: "xen-devel@lists.xensource.com" , Ian Campbell List-Id: xen-devel@lists.xenproject.org Stefano Stabellini writes ("Re: [PATCH v6 07/11] libxl: introduce libxl__alloc_vdev"): > If my math is correct there is no need to enforce an upper limit because > even if we suppose that offset is ULONG_MAX on 64 bits it would still be > lower than 26 elevated at 28 that is the actual upper limit. Right. (In English you mean "26 to the power of 28" or you might choose to write "26^28".) > I am going to write this in a comment. Yes, that's what I was trying to get at. Ian.