[dpdk-dev] [PATCH 2/3] vhost: check that a device exists during reset_owner

Jérôme Jutteau jerome.jutteau at outscale.com
Mon Oct 19 11:42:44 CEST 2015


Hi Yuanhan,

2015-10-19 6:35 GMT+02:00 Yuanhan Liu <yuanhan.liu at linux.intel.com>:
> I would call get_device() here, which dumps an error message when
> it's NULL so that user will get noticed.
>
> Besides that, the 3 patches look good to me, and,
>
> Acked-by: Yuanhan Liu <yuanhan.liu at linux.intel.com>

Thanks for your review, a v2 is coming soon with get_device().

-- 
Jérôme


More information about the dev mailing list