From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [virtio-net-pmd PATCH 08/16] pmd: fix initialization of Tx queue header Date: Thu, 27 Mar 2014 10:34:38 +0100 Message-ID: <14694632.xyPQeQAJ2M@xps13> References: <1391529271-24606-1-git-send-email-thomas.monjalon@6wind.com> <1391529271-24606-9-git-send-email-thomas.monjalon@6wind.com> <5333E00C.3090806@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Olivier MATZ Return-path: In-Reply-To: <5333E00C.3090806-pdR9zngts4EAvxtiuMwx3w@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" > > A typo was found by gcc-4.8: > > virtio_user.c:744:15: error: argument to 'sizeof' in 'memset' call is the > > same expression as the destination; did you mean to dereference it? > > [-Werror=sizeof-pointer-memaccess] > > > > sizeof(tq->tx_hdrs[sz - 1].header)); > > > > ^ > > > > Signed-off-by: Thomas Monjalon > > Reviewed-by: Olivier Matz Applied, thanks -- Thomas