From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id 2B11B3F9 for ; Thu, 27 Mar 2014 09:20:54 +0100 (CET) Received: from was59-1-82-226-113-214.fbx.proxad.net ([82.226.113.214] helo=[192.168.0.10]) by mail.droids-corp.org with esmtpsa (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1WT5bD-0005S8-Eq; Thu, 27 Mar 2014 09:23:47 +0100 Message-ID: <5333E00C.3090806@6wind.com> Date: Thu, 27 Mar 2014 09:23:40 +0100 From: Olivier MATZ User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 MIME-Version: 1.0 To: Thomas Monjalon References: <1391529271-24606-1-git-send-email-thomas.monjalon@6wind.com> <1391529271-24606-9-git-send-email-thomas.monjalon@6wind.com> In-Reply-To: <1391529271-24606-9-git-send-email-thomas.monjalon@6wind.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [virtio-net-pmd PATCH 08/16] pmd: fix initialization of Tx queue header X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2014 08:20:54 -0000 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