From: Ian Campbell Subject: Re: [PATCH v4 2/7] arm: compile libxc Date: Tue, 21 Feb 2012 15:31:42 +0000 Message-ID: <1329838302.3990.115.camel@zakaz.uk.xensource.com> References: <1329308673-30175-2-git-send-email-stefano.stabellini@eu.citrix.com> <1329837427.3990.110.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1329837427.3990.110.camel@zakaz.uk.xensource.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: Stefano Stabellini Cc: "xen-devel@lists.xensource.com" , "Tim Deegan (3P)" , David Vrabel List-Id: xen-devel@lists.xenproject.org On Tue, 2012-02-21 at 15:17 +0000, Ian Campbell wrote: > On Wed, 2012-02-15 at 12:24 +0000, Stefano Stabellini wrote: > > > > +static int > > +xc_core_arch_map_p2m_rw(xc_interface *xch, struct domain_info_context > > *dinfo, xc_dominfo_t *info, > > + shared_info_any_t *live_shinfo, xen_pfn_t > > **live_p2m, > > + unsigned long *pfnp, int rw) > > +{ > > + return -ENOSYS; > > I only just noticed this: libxc is supposed to set errno and return -1, > not return -Efoo. > > There's a few of these in this series. I actually noticed it in > xc_hvm_build_arm.c but this was the first one I came across when > grepping my mail. If you are resending, could you also add the emacs magic comments to the tail of any new files. Thanks, Ian.