Received: from eggs.gnu.org ([2001:4830:134:3::10]:58577) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxBUX-0008PM-S1 for qemu-devel@nongnu.org; Tue, 26 May 2015 05:49:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YxBUU-0008G0-Mi for qemu-devel@nongnu.org; Tue, 26 May 2015 05:49:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59390) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxBUU-0008Fs-F7 for qemu-devel@nongnu.org; Tue, 26 May 2015 05:49:42 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t4Q9nf6B018061 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Tue, 26 May 2015 05:49:41 -0400 From: Markus Armbruster References: <1432294585-5984-1-git-send-email-armbru@redhat.com> <1432294585-5984-19-git-send-email-armbru@redhat.com> <555FB424.9050303@redhat.com> Date: Tue, 26 May 2015 11:49:39 +0200 In-Reply-To: <555FB424.9050303@redhat.com> (Eric Blake's message of "Fri, 22 May 2015 16:56:36 -0600") Message-ID: <87oal7d5xo.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH 18/20] monitor: Turn int command_mode into bool in_command_mode List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: qemu-devel@nongnu.org, lcapitulino@redhat.com Eric Blake writes: > On 05/22/2015 05:36 AM, Markus Armbruster wrote: >> Signed-off-by: Markus Armbruster >> --- >> monitor.c | 23 ++++++++++++----------- >> 1 file changed, 12 insertions(+), 11 deletions(-) >> > > Might be worth mentioning in the commit message that... > >> >> -static inline int qmp_cmd_mode(const Monitor *mon) >> -{ >> - return mon->qmp.command_mode; >> -} > > ...qmp_cmd_mode() is now inlined into its callers. Can do. > Nice, fixes up a mis-use of 'int' that I complained about when writing > commit 2d5a8346 > > Reviewed-by: Eric Blake Thanks!