[dpdk-dev] [PATCH 2/4] virtio-net.c: incorrect parens around equality check
Thomas Monjalon
thomas.monjalon at 6wind.com
Tue Jul 22 15:14:51 CEST 2014
Hi Matthew,
I think that patches 1, 3 and 4 need some rework but this one is valid
and has no relation with other ones in the serie. So it can be integrated now.
2014-07-20 20:47, Matthew Hall:
> --- a/examples/vhost/virtio-net.c
> +++ b/examples/vhost/virtio-net.c
> @@ -280,8 +280,8 @@ get_config_ll_entry(struct vhost_device_ctx ctx)
>
> /* Loop through linked list until the device_fh is found. */
> while (ll_dev != NULL) {
> - if ((ll_dev->dev.device_fh == ctx.fh))
> - return ll_dev;
> + if (ll_dev->dev.device_fh == ctx.fh)
> + return ll_dev;
> ll_dev = ll_dev->next;
> }
Acked-by: Thomas Monjalon <thomas.monjalon at 6wind.com>
Applied for version 1.7.1.
Thanks
--
Thomas
More information about the dev
mailing list