Received: from eggs.gnu.org ([2001:4830:134:3::10]:54869) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9ZzC-0001cV-Qn for qemu-devel@nongnu.org; Mon, 08 Oct 2018 14:10:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g9Zql-0004Kh-P8 for qemu-devel@nongnu.org; Mon, 08 Oct 2018 14:01:55 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36458) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g9Zqi-0004Hj-LP for qemu-devel@nongnu.org; Mon, 08 Oct 2018 14:01:45 -0400 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id EF2A3D56FF for ; Mon, 8 Oct 2018 18:01:43 +0000 (UTC) Date: Mon, 8 Oct 2018 15:01:42 -0300 From: Eduardo Habkost Message-ID: <20181008180142.GS5738@habkost.net> References: <20181008173125.19678-1-armbru@redhat.com> <20181008173125.19678-26-armbru@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181008173125.19678-26-armbru@redhat.com> Subject: Re: [Qemu-devel] [PATCH 25/31] numa: Clean up error reporting in parse_numa() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: qemu-devel@nongnu.org On Mon, Oct 08, 2018 at 07:31:19PM +0200, Markus Armbruster wrote: > Calling error_report() in a function that takes an Error ** argument > is suspicious. parse_numa() does that, and then fails without setting > an error. Its caller main(), via qemu_opts_foreach(), is fine with > it, but clean it up anyway. > > While there, give parse_numa() internal linkage. > > Cc: Eduardo Habkost > Signed-off-by: Markus Armbruster Reviewed-by: Eduardo Habkost Queueing on machine-next. Thanks! -- Eduardo