commit | 4b8e6ac41a594ea67ded6af6af5935f03221ea4c | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Thu May 31 02:05:07 2018 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu May 31 22:50:13 2018 -0400 |
tree | 3a6680a8a4383765cc0dc24ffcb418ddbf4c4940 | |
parent | ccf8dbcd062a930e64741c939ca784d15316aa0c [diff] |
virtio_net: fix error return code in virtnet_probe() Fix to return a negative error code from the failover create fail error handling case instead of 0, as done elsewhere in this function. Fixes: ba5e4426e80e ("virtio_net: Extend virtio to use VF datapath when available") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Acked-by: Jason Wang <jasowang@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>