From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH 06/14] libxl: Return negative value and propagate errno for xc_offline_page API Date: Wed, 18 Mar 2015 16:22:36 +0000 Message-ID: <1426695756.14291.69.camel@citrix.com> References: <1426520383-20855-1-git-send-email-konrad.wilk@oracle.com> <1426520383-20855-7-git-send-email-konrad.wilk@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YYGjx-0007jU-FX for xen-devel@lists.xenproject.org; Wed, 18 Mar 2015 16:22:41 +0000 In-Reply-To: <1426520383-20855-7-git-send-email-konrad.wilk@oracle.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: Konrad Rzeszutek Wilk Cc: xen-devel@lists.xenproject.org, ian.jackson@eu.citrix.com, wei.liu2@citrix.com, stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org On Mon, 2015-03-16 at 11:39 -0400, Konrad Rzeszutek Wilk wrote: > Instead of returning -Exx we now return -1 for error. > We could stash the -Exx values in errno values but why - the > underlaying functions we call all stash the proper errno > value. Hence we just propagate it up wherver it is needed. > > Signed-off-by: Konrad Rzeszutek Wilk Acked-by: Ian Campbell