diff options
author | Markus Armbruster <armbru@redhat.com> | 2023-09-28 15:19:55 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2023-10-11 11:17:03 +0200 |
commit | 4a1021796252598957876a530c8d5d2ed7fd693e (patch) | |
tree | 029ebbdecd51e7ea5bc3d552573f1c50c415f3b0 /plugins | |
parent | c0d77702d2e787053d2b139e07220208d6e635c6 (diff) |
migration/rdma: Check negative error values the same way everywhere
When a function returns 0 on success, negative value on error,
checking for non-zero suffices, but checking for negative is clearer.
So do that.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-ID: <20230928132019.2544702-30-armbru@redhat.com>
Diffstat (limited to 'plugins')
0 files changed, 0 insertions, 0 deletions