From: Ian Jackson Subject: Re: [PATCH 2/4] docs/html/: Annotations for two hypercalls Date: Tue, 29 Nov 2011 15:29:13 +0000 Message-ID: <20180.64073.94115.145353@mariner.uk.xensource.com> References: <1322578893-9998-1-git-send-email-ian.jackson@eu.citrix.com> <1322578893-9998-3-git-send-email-ian.jackson@eu.citrix.com> <1322580022.31810.11.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: <1322580022.31810.11.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [Xen-devel] [PATCH 2/4] docs/html/: Annotations for two hypercalls"): > On Tue, 2011-11-29 at 15:01 +0000, Ian Jackson wrote: > > This exercise revealed a couple of infelicities: > > * In the actual source code, do_mmu_update is defined to return an int > > and do_set_trap_table a long. However both functions return either > > -Efoo (on error) or 0 for success. > > Should that be fixed or would that do more harm than good? I wasn't sure whether I should go through all the hypercalls checking and perhaps fixing up their return values. > Acked-by: Ian Campbell Thanks, Ian.