Received: from eggs.gnu.org ([2001:4830:134:3::10]:50128) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wi4Bd-0003hc-HC for qemu-devel@nongnu.org; Wed, 07 May 2014 11:55:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wi4BW-0001pF-FU for qemu-devel@nongnu.org; Wed, 07 May 2014 11:55:13 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58309) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wi4BW-0001lw-8I for qemu-devel@nongnu.org; Wed, 07 May 2014 11:55:06 -0400 From: Markus Armbruster References: <1399030002-27222-1-git-send-email-armbru@redhat.com> <1399030002-27222-15-git-send-email-armbru@redhat.com> <536390CD.8070106@redhat.com> <87fvkmi0ip.fsf@blackfin.pond.sub.org> <20140507100802.69268d84@redhat.com> Date: Wed, 07 May 2014 17:54:58 +0200 In-Reply-To: <20140507100802.69268d84@redhat.com> (Luiz Capitulino's message of "Wed, 7 May 2014 10:08:02 -0400") Message-ID: <87iophwpm5.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v3 14/14] qmp: Don't use error_is_set() to suppress additional errors List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino Cc: pbonzini@redhat.com, qemu-devel@nongnu.org, mdroth@linux.vnet.ibm.com Luiz Capitulino writes: > On Wed, 07 May 2014 08:08:30 +0200 > Markus Armbruster wrote: > >> Eric Blake writes: >> >> > On 05/02/2014 05:26 AM, Markus Armbruster wrote: >> >> Using error_is_set(errp) that way can sweep programming errors under >> >> the carpet when we get called incorrectly with an error set. >> >> >> >> encrypted_bdrv_it() does it, because there's no way to make >> >> bdrv_iterate() break its loop. Actually safe, because qmp_cont() >> >> clears the error before the loop. Clean it up anyway: replace >> >> bdrv_iterate() by bdrv_next(), break the loop on error. >> >> >> >> Replace both occurences, for consistency. >> > >> > s/occurences/occurrences/ >> > >> >> >> >> Signed-off-by: Markus Armbruster >> >> Reviewed-by: Eric Blake >> > >> > Fixing up the commit message typo is trivial and doesn't alter the >> > positive review. >> >> Luiz, could you fix it up on commit, when you add Eric's R-by? > > Fixed. But I didn't have to add his R-bys, you did it already. -EFRIEDBRAIN. Thanks!