aboutsummaryrefslogtreecommitdiff
path: root/gdbstub
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2023-09-28 15:19:51 +0200
committerJuan Quintela <quintela@redhat.com>2023-10-11 11:17:03 +0200
commit8c6513f75048e6cc55d9e6db2c2e0e7b02a166bc (patch)
tree7de27256b62b83fa0cf1b2feca5e881eccafb00a /gdbstub
parent07249822212ec56484ecfb5594d2ec94c84961fa (diff)
downloadqemu-8c6513f75048e6cc55d9e6db2c2e0e7b02a166bc.zip
qemu-8c6513f75048e6cc55d9e6db2c2e0e7b02a166bc.tar.gz
qemu-8c6513f75048e6cc55d9e6db2c2e0e7b02a166bc.tar.bz2
migration/rdma: Return -1 instead of negative errno code
Several functions return negative errno codes on failure. Callers check for specific codes exactly never. For some of the functions, callers couldn't check even if they wanted to, because the functions also return negative values that aren't errno codes, leaving readers confused on what the function actually returns. Clean up and simplify: return -1 instead of negative errno code. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Li Zhijian <lizhijian@fujitsu.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com> Message-ID: <20230928132019.2544702-26-armbru@redhat.com>
Diffstat (limited to 'gdbstub')
0 files changed, 0 insertions, 0 deletions