net/virtio: fix unchecked return value
authorTiwei Bie <tiwei.bie@intel.com>
Wed, 7 Nov 2018 09:01:01 +0000 (17:01 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 13 Nov 2018 23:35:53 +0000 (00:35 +0100)
commitecfae1510edc1391285aa566a2d31e7eae8fc6d2
tree7a22cd2d21c7aedcb173de460d15ecf4816dde84
parentcd1e8f03abf0323e6210ae89a80b89b242a35260
net/virtio: fix unchecked return value

Coverity issue: 302861
Fixes: 6ba1f63b5ab0 ("virtio: support specification 1.0")
Cc: stable@dpdk.org
Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/virtio/virtio_pci.c