From: Ian Campbell Subject: Re: [PATCH v2] xen: arm: correct return value of raw_copy_{to/from}_guest_*, raw_clear_guest Date: Mon, 9 Dec 2013 15:48:24 +0000 Message-ID: <1386604104.7812.29.camel@kazak.uk.xensource.com> References: <1386591228-2012-1-git-send-email-ian.campbell@citrix.com> <52A5DE68.6090301@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <52A5DE68.6090301@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: stefano.stabellini@eu.citrix.com, tim@xen.org, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Mon, 2013-12-09 at 15:14 +0000, Julien Grall wrote: > On 12/09/2013 12:13 PM, Ian Campbell wrote: > > This is a generic interface which is supposed to return the number of bytes > > which were not copied. Make it so. > > > > Update the incorrect callers prepare_dtb, decode_thumb{2} and > > xenmem_add_to_physmap_range. > > > > In the xenmem_add_to_physmap_range case, observe that we are not propagating > > errors from xenmem_add_to_physmap_one and do so. > > > > In the decode_thumb case and an emacs magic block to decode.c > > > > Make the flush_dcache parameter to the helper an int while at it. > > > > Signed-off-by: Ian Campbell > Acked-by: Julien Grall Applied, thanks.