From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43758) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gAezn-0005Qb-53 for qemu-devel@nongnu.org; Thu, 11 Oct 2018 13:43:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gAezi-0005Sz-QB for qemu-devel@nongnu.org; Thu, 11 Oct 2018 13:43:35 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52492) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gAezi-0005S0-JV for qemu-devel@nongnu.org; Thu, 11 Oct 2018 13:43:30 -0400 From: Markus Armbruster References: <20181008173125.19678-1-armbru@redhat.com> <20181008173125.19678-20-armbru@redhat.com> Date: Thu, 11 Oct 2018 19:43:25 +0200 In-Reply-To: (=?utf-8?Q?=22Marc-Andr=C3=A9?= Lureau"'s message of "Tue, 9 Oct 2018 15:13:46 +0400") Message-ID: <87y3b4xttu.fsf@dusky.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 19/31] vl: Clean up error reporting in parse_add_fd() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?utf-8?Q?Marc-Andr=C3=A9?= Lureau Cc: QEMU Marc-Andr=C3=A9 Lureau writes: > Hi > > On Mon, Oct 8, 2018 at 9:51 PM Markus Armbruster wrot= e: >> >> Calling error_report() in a function that takes an Error ** argument >> is suspicious. chardev_init_func() 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. >> >> Signed-off-by: Markus Armbruster > > commit title is wrong, apart from that: Fixing... > Reviewed-by: Marc-Andr=C3=A9 Lureau Thanks!