[dpdk-dev] [PATCH v2] examples/vhost: fix the wrong initialization of lcore_ids
Yuanhan Liu
yuanhan.liu at linux.intel.com
Thu Jan 12 04:06:12 CET 2017
On Wed, Jan 11, 2017 at 03:59:46AM -0500, Yong Wang wrote:
> when "TAILQ_INIT()" was added to the loop of "for (lcore_id = 0; ...)"
> statement, the assignment to "lcore_ids" was removed out of the loop.
> It changed the original initialization of "lcore_ids".
opps.... and nice catch! Thanks.
>
> Fix it by introducing two braces.
>
> Fixes: 45657a5c6861 ("examples/vhost: use tailq to link vhost devices")
>
> Signed-off-by: Yong Wang <wang.yong19 at zte.com.cn>
Applied to dpdk-next-virtio.
--yliu
More information about the dev
mailing list