diff options
author | John Levon <john.levon@nutanix.com> | 2025-05-07 16:20:10 +0100 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2025-05-09 12:42:28 +0200 |
commit | 2e27becf17be231bc15588a51c0b61efec68d021 (patch) | |
tree | 6943498c6cef733a48fcd1d9ed445560110b6e6c /rust/qemu-api-macros | |
parent | 5321e623ebe27deef7cfb793a71d23affa77d157 (diff) | |
download | qemu-2e27becf17be231bc15588a51c0b61efec68d021.zip qemu-2e27becf17be231bc15588a51c0b61efec68d021.tar.gz qemu-2e27becf17be231bc15588a51c0b61efec68d021.tar.bz2 |
vfio: consistently handle return value for helpers
Various bits of code that call vfio device APIs should consistently use
the "return -errno" approach for passing errors back, rather than
presuming errno is (still) set correctly.
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: John Levon <john.levon@nutanix.com>
Link: https://lore.kernel.org/qemu-devel/20250507152020.1254632-6-john.levon@nutanix.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'rust/qemu-api-macros')
0 files changed, 0 insertions, 0 deletions