[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 26/52] migration/rdma: Replace int error_state by bool errore
From: |
Markus Armbruster |
Subject: |
Re: [PATCH 26/52] migration/rdma: Replace int error_state by bool errored |
Date: |
Wed, 27 Sep 2023 21:04:30 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Eric Blake <eblake@redhat.com> writes:
> On Mon, Sep 18, 2023 at 04:41:40PM +0200, Markus Armbruster wrote:
>> All we do with the value of RDMAContext member @error_state is test
>> whether it's zero. Change to bool and rename to @errored.
>>
>> Signed-off-by: Markus Armbruster <armbru@redhat.com>
>> ---
>> migration/rdma.c | 66 ++++++++++++++++++++++++------------------------
>> 1 file changed, 33 insertions(+), 33 deletions(-)
>>
>> diff --git a/migration/rdma.c b/migration/rdma.c
>> index ad314cc10a..85f6b274bf 100644
>> --- a/migration/rdma.c
>> +++ b/migration/rdma.c
>> @@ -352,7 +352,7 @@ typedef struct RDMAContext {
>> * memory registration, then do not attempt any future work
>> * and remember the error state.
>> */
>> - int error_state;
>> + int errored;
>
> Commit message says 'change to bool', but this is still int.
Accident, will fix, thanks!