From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 2/4] virtio-net.c: incorrect parens around equality check Date: Tue, 22 Jul 2014 15:14:51 +0200 Message-ID: <42607666.SQuAkzsMo0@xps13> References: <1405914461-19335-1-git-send-email-mhall@mhcomputing.net> <1405914461-19335-3-git-send-email-mhall@mhcomputing.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Matthew Hall Return-path: In-Reply-To: <1405914461-19335-3-git-send-email-mhall-Hv3ogNYU3JfZZajBQzqCxQ@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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 Applied for version 1.7.1. Thanks -- Thomas