From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= Subject: Re: [PATCH] libxc: simplify error handling in meminit_hvm Date: Mon, 7 Mar 2016 17:12:22 +0100 Message-ID: References: <1457021381-10372-1-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="0-1053506243-1457367144=:22898" Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.84) (envelope-from ) id 1acxlk-0008F9-V2 for xen-devel@lists.xenproject.org; Mon, 07 Mar 2016 16:12:29 +0000 In-Reply-To: <1457021381-10372-1-git-send-email-wei.liu2@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Wei Liu Cc: Xen-devel , Roger Pau Monne , Ian Jackson , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org --0-1053506243-1457367144=:22898 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT On Thu, 3 Mar 2016, Wei Liu wrote: > The hunk that prints out error message can only be reached from the loop > that allocates memory. Move that hunk into the loop to avoid confusing > gcc. > > Reported-by: Doug Goldstein > Signed-off-by: Wei Liu Acked-by: Roger Pau Monné --0-1053506243-1457367144=:22898 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwOi8vbGlzdHMueGVuLm9y Zy94ZW4tZGV2ZWwK --0-1053506243-1457367144=:22898--