diff options
author | Alberto Faria | 2022-06-09 17:27:38 +0200 |
---|---|---|
committer | Hanna Reitz | 2022-07-12 12:14:55 +0200 |
commit | 757dda54b43867936012970a1b457f3d16e7398d (patch) | |
tree | 2d0997e452b2c62a2bc42a4ab249642cce5076ce /include/net/vhost-user.h | |
parent | block: Make bdrv_{pread,pwrite}() return 0 on success (diff) | |
download | qemu-757dda54b43867936012970a1b457f3d16e7398d.tar.gz qemu-757dda54b43867936012970a1b457f3d16e7398d.tar.xz qemu-757dda54b43867936012970a1b457f3d16e7398d.zip |
crypto: Make block callbacks return 0 on success
They currently return the value of their headerlen/buflen parameter on
success. Returning 0 instead makes it clear that short reads/writes are
not possible.
Signed-off-by: Alberto Faria <afaria@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20220609152744.3891847-5-afaria@redhat.com>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Diffstat (limited to 'include/net/vhost-user.h')
0 files changed, 0 insertions, 0 deletions