[dpdk-stable] [PATCH v2] net/vhost: fix return value of vhost creates not checked
    Tiwei Bie 
    tiwei.bie at intel.com
       
    Tue Jan  7 03:31:38 CET 2020
    
    
  
On Tue, Dec 17, 2019 at 09:36:17AM +0800, Yunjian Wang wrote:
>  
> -	eth_dev_vhost_create(dev, iface_name, queues, dev->device.numa_node,
> -		flags, disable_flags);
> +	ret = eth_dev_vhost_create(dev, iface_name, queues,
> +				   dev->device.numa_node, flags, disable_flags);
> +	if (ret == -1)
> +		VHOST_LOG(ERR, "Failed to create %s", name);
A newline is needed at the end of the error message.
Other than that,
Reviewed-by: Tiwei Bie <tiwei.bie at intel.com>
    
    
More information about the stable
mailing list