]> Git Repo - qemu.git/commit
vfio/platform: fix a wrong returned value in vfio_populate_device
authorEric Auger <[email protected]>
Mon, 17 Oct 2016 16:58:00 +0000 (10:58 -0600)
committerAlex Williamson <[email protected]>
Mon, 17 Oct 2016 16:58:00 +0000 (10:58 -0600)
commit0d84f47bff2f98d0cea5fb27e9b62225ccebd70a
treea1d1ff552b5d761eb5be188bc5f448501fe955ff
parent5ff7419d4c7706fc3f625c0fd48cae191d2cecbc
vfio/platform: fix a wrong returned value in vfio_populate_device

In case the vfio_init_intp fails we currently do not return an
error value. This patch fixes the bug. The returned value is not
explicit but in practice the error object is the one used to
report the error to the end-user and the actual returned error
value is not used.

Signed-off-by: Eric Auger <[email protected]>
Reviewed-by: Markus Armbruster <[email protected]>
Signed-off-by: Alex Williamson <[email protected]>
hw/vfio/platform.c
This page took 0.024883 seconds and 4 git commands to generate.