Spdk/lib/bdev/virtio/rte_virtio
Dariusz Stojaczyk eba48d825c rte_virtio: add missing if() brackets
Some error messages were printed
outside of the error-checking
if() condition.

Fixes: bd273d4 ("rte_vhost: replace strerror() with spdk_strerror_r()")

Change-Id: Icf965ae56ffc2e0970572308b38607ac63cdb1f2
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/382943
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
2017-10-18 13:00:34 -04:00
..
virtio_user rte_virtio: add missing if() brackets 2017-10-18 13:00:34 -04:00
virtio_dev.c bdev_virtio: fix memleak on init failure 2017-10-17 15:21:09 -04:00
virtio_dev.h bdev_virtio: fix memleak on init failure 2017-10-17 15:21:09 -04:00
virtio_pci.c bdev_virtio: implement multiqueue 2017-10-16 15:48:09 -04:00
virtio_pci.h rte_virtio: remove unused PCI ID #defines 2017-10-17 15:26:43 -04:00
virtio_user.c rte_virtio: add missing if() brackets 2017-10-18 13:00:34 -04:00