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 <arm...@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. -- Eric Blake, Principal Software Engineer Red Hat, Inc. Virtualization: qemu.org | libguestfs.org