From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH] libxc: use correct return type for do_memory_op() Date: Tue, 1 Dec 2015 12:38:16 +0000 Message-ID: <1448973496.15768.131.camel@citrix.com> References: <1448614851-13379-1-git-send-email-jgross@suse.com> <20151130102303.GG21588@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20151130102303.GG21588@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 , Juergen Gross Cc: stefano.stabellini@eu.citrix.com, ian.jackson@eu.citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Mon, 2015-11-30 at 10:23 +0000, Wei Liu wrote: > On Fri, Nov 27, 2015 at 10:00:51AM +0100, Juergen Gross wrote: > > Currently do_memory_op() is returning int, while the hypervisor is > > returning long. This will lead to wrong return informations as soon as > > e.g. a pfn larger than about 2 billion (8 TB) is returned. > > > > Use the correct long return type instead and correct the functions > > expecting a pfn via the return value of do_memory_op(). > > > > Signed-off-by: Juergen Gross > > Acked-by: Wei Liu Applied, thanks.