On 1/7/20 6:08 AM, Tiwei Bie wrote:
> On Tue, Jan 07, 2020 at 11:25:48AM +0800, Yunjian Wang wrote:
>> The function eth_dev_vhost_create() could return errors,
>> the return value need to be checked.
>>
>> Fixes: ee584e9710b9 ("vhost: add driver on top of the library")
>> Cc: sta...@dpdk.org
>>
>> Signed-off-by: Yunjian Wang <wangyunj...@huawei.com>
>> ---
>> v3:
>> * Add newline at the end of the error message
>> v2:
>> * Change function eth_dev_vhost_create return 0 on success
>> ---
>> drivers/net/vhost/rte_eth_vhost.c | 8 +++++---
>> 1 file changed, 5 insertions(+), 3 deletions(-)
>
> Reviewed-by: Tiwei Bie <tiwei....@intel.com>
>
Applied to dpdk-next-virtio/master.
Thanks,
Maxime