diff options
| author | Philippe Mathieu-Daudé | 2020-10-29 10:32:51 +0100 |
|---|---|---|
| committer | Stefan Hajnoczi | 2020-11-03 20:06:21 +0100 |
| commit | 7a5f00dde39c0120b1653f189de9bbd551a6b1d8 (patch) | |
| tree | 22a91e043d62d388ea185d5be2e567f143afd6c5 /include | |
| parent | block/nvme: Use unsigned integer for queue counter/size (diff) | |
| download | qemu-7a5f00dde39c0120b1653f189de9bbd551a6b1d8.tar.gz qemu-7a5f00dde39c0120b1653f189de9bbd551a6b1d8.tar.xz qemu-7a5f00dde39c0120b1653f189de9bbd551a6b1d8.zip | |
block/nvme: Make nvme_identify() 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.
Tested-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20201029093306.1063879-11-philmd@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
