aboutsummaryrefslogtreecommitdiff
path: root/hw/core/loader.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2020-10-29 10:32:52 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2020-11-03 19:06:21 +0000
commitdfa9c6c65666d431b20f6ae3f18ee1e729f80f19 (patch)
treea9eb39bdd81408f5dad2ab1122d3997e7bce0d6d /hw/core/loader.c
parent7a5f00dde39c0120b1653f189de9bbd551a6b1d8 (diff)
downloadqemu-dfa9c6c65666d431b20f6ae3f18ee1e729f80f19.zip
qemu-dfa9c6c65666d431b20f6ae3f18ee1e729f80f19.tar.gz
qemu-dfa9c6c65666d431b20f6ae3f18ee1e729f80f19.tar.bz2
block/nvme: Make nvme_init_queue() return boolean indicating error
Just for consistency, following the example documented since commit e3fe3988d7 ("error: Document Error API usage rules"), return a boolean value indicating an error is set or not. Directly pass errp as the local_err is not requested in our case. This simplifies a bit nvme_create_queue_pair(). Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Tested-by: Eric Auger <eric.auger@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20201029093306.1063879-12-philmd@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Tested-by: Eric Auger <eric.auger@redhat.com>
Diffstat (limited to 'hw/core/loader.c')
0 files changed, 0 insertions, 0 deletions