Received: from eggs.gnu.org ([2001:4830:134:3::10]:52511) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhdAa-0004o8-6b for qemu-devel@nongnu.org; Thu, 01 Oct 2015 08:41:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZhdAU-0007Xc-Mj for qemu-devel@nongnu.org; Thu, 01 Oct 2015 08:41:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38219) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhdAU-0007XS-Hg for qemu-devel@nongnu.org; Thu, 01 Oct 2015 08:41:02 -0400 From: Markus Armbruster References: <1443565276-4535-1-git-send-email-eblake@redhat.com> <1443565276-4535-16-git-send-email-eblake@redhat.com> Date: Thu, 01 Oct 2015 14:40:58 +0200 In-Reply-To: <1443565276-4535-16-git-send-email-eblake@redhat.com> (Eric Blake's message of "Tue, 29 Sep 2015 16:21:13 -0600") Message-ID: <87k2r6zrqd.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v7 15/18] qapi: Share gen_err_check() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: marcandre.lureau@redhat.com, qemu-devel@nongnu.org, ehabkost@redhat.com, Michael Roth Eric Blake writes: > qapi-commands has a nice helper gen_err_check(), but did not but does not use > use it everywhere. In fact, using it in more places makes it > easier to reduce the lines of code used for generating error > checks. This in turn will make it easier for later patches > to consolidate another common pattern among the generators. Does this message need updating now you're using gen_err_check() less aggressively? > The generated code has one less blank line in qapi-event.c > functions, but has no semantic difference. Is it a stylistic improvement or the opposite? > Signed-off-by: Eric Blake Patch looks good.