From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH v2] xl: initialise rc before using it in vcpuset Date: Wed, 4 Nov 2015 11:39:54 +0000 Message-ID: <1446637194.6461.74.camel@citrix.com> References: <1446636777-31896-1-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZtwQC-00059Y-Ns for xen-devel@lists.xenproject.org; Wed, 04 Nov 2015 11:40:08 +0000 In-Reply-To: <1446636777-31896-1-git-send-email-wei.liu2@citrix.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: Wei Liu , Xen-devel Cc: Andrew Cooper , Dario Faggioli , Ian Jackson , Harmandeep Kaur List-Id: xen-devel@lists.xenproject.org On Wed, 2015-11-04 at 11:32 +0000, Wei Liu wrote: > In 5b725e56 (xl: improve return and exit codes of vcpu related > functions), the return value of libxl_cpu_bitmap_alloc was not stored in > rc anymore. Yet the subsequent fprintf still used that. > > Reinstate the original implementation, that is, to store return value of > libxl_cpu_bitmap_alloc in rc before using rc. > > Signed-off-by: Wei Liu Acked + applied.