From: Ian Jackson Subject: Re: [PATCH 3/3] libxl: save/restore callbacks: enforce a useful errno value Date: Mon, 22 Sep 2014 15:08:34 +0100 Message-ID: <21536.11618.410898.413499@mariner.uk.xensource.com> References: <21536.10963.947982.42738@mariner.uk.xensource.com> <1411394299-8584-3-git-send-email-ian.jackson@eu.citrix.com> <1411394832.14971.3.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1411394832.14971.3.camel@kazak.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: Ian Campbell Cc: olaf@aepfle.de, xen-devel@lists.xensource.com, laijs@cn.fujitsu.com, wency@cn.fujitsu.com, yunhong.jiang@intel.com, eddie.dong@intel.com, yanghy@cn.fujitsu.com List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [PATCH 3/3] libxl: save/restore callbacks: enforce a useful errno value"): > On Mon, 2014-09-22 at 14:58 +0100, Ian Jackson wrote: > > For one of the call sites it is obvious what value should be passed. > > > > All the others have been left untouched. As a result the code now > > DOES NOT COMPILE. > > I suppose the intention here is that Wen takes this as a basis and makes > it return the appropriate error codes to suit remus's usage? Yes. I'm afraid it's far from clear to me what is correct and there are about a dozen call sites (many of which are trivial and are themselves called from somewhere else...) Ian.