qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v3 14/14] qmp: Don't use error_is_set() to suppr


From: Markus Armbruster
Subject: Re: [Qemu-devel] [PATCH v3 14/14] qmp: Don't use error_is_set() to suppress additional errors
Date: Wed, 07 May 2014 17:54:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

Luiz Capitulino <address@hidden> writes:

> On Wed, 07 May 2014 08:08:30 +0200
> Markus Armbruster <address@hidden> wrote:
>
>> Eric Blake <address@hidden> 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 <address@hidden>
>> >> Reviewed-by: Eric Blake <address@hidden>
>> >
>> > 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!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]