From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier MATZ Subject: Re: [virtio-net-pmd PATCH 08/16] pmd: fix initialization of Tx queue header Date: Thu, 27 Mar 2014 09:23:40 +0100 Message-ID: <5333E00C.3090806@6wind.com> References: <1391529271-24606-1-git-send-email-thomas.monjalon@6wind.com> <1391529271-24606-9-git-send-email-thomas.monjalon@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "dev-VfR2kkLFssw@public.gmane.org" To: Thomas Monjalon Return-path: In-Reply-To: <1391529271-24606-9-git-send-email-thomas.monjalon-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" Hello Thomas, On 02/04/2014 04:54 PM, Thomas Monjalon wrote: > 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