]> asedeno.scripts.mit.edu Git - linux.git/commit
vfio/mdev: Avoid masking error code to EBUSY
authorParav Pandit <parav@mellanox.com>
Tue, 30 Apr 2019 22:49:31 +0000 (17:49 -0500)
committerAlex Williamson <alex.williamson@redhat.com>
Tue, 7 May 2019 17:23:13 +0000 (11:23 -0600)
commitd3000463504b561db3c6d3aedc2c3106bdb29648
tree781db1ebcbc4d7ff1ece02d073b85ecfd368b151
parent50732af3b65691666c32fe89808545134c1ee2a0
vfio/mdev: Avoid masking error code to EBUSY

Instead of masking return error to -EBUSY, return actual error
returned by the driver.

Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/mdev/mdev_core.c