diff options
author | swapnili <swapnil.ingle@nutanix.com> | 2021-02-10 17:54:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-10 17:54:51 +0100 |
commit | aa2157aad1876c3963efe34c694c93eadd309c97 (patch) | |
tree | a232b4ef5155eacb7a902603a20ec358e38cdee4 /samples | |
parent | d3651f5d30a0532f39da962b9e76ba8cbada6e6c (diff) | |
download | libvfio-user-aa2157aad1876c3963efe34c694c93eadd309c97.zip libvfio-user-aa2157aad1876c3963efe34c694c93eadd309c97.tar.gz libvfio-user-aa2157aad1876c3963efe34c694c93eadd309c97.tar.bz2 |
API error return converged to one func (#325)
* API error return converged to one func
Use ERROR_INT() or ERROR_PTR() to return errors from API's.
This way if we want to change the behaviour later, we will just need
to update these funcitons.
Also fixed some error return cases and comments.
Reviewed-by: John Levon <john.levon@nutanix.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions