From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by dpdk.org (Postfix) with ESMTP id CC01F58DD for ; Thu, 27 Mar 2014 10:33:06 +0100 (CET) Received: by mail-wi0-f169.google.com with SMTP id hm4so5609592wib.2 for ; Thu, 27 Mar 2014 02:34:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=y/jdNIoR6q8quOr+x9S2JCY3YVqMZcL0HuHgvrLVUJc=; b=k420NgK78Xv0JhNgt04iksP0N4GWC8mPRtpIxlQYAVDxWn1TBC1yTTkS56dNO21sr2 kXJhYOGwg+TEnci021s/nAJRqor4ksKWV5RiVRdF0VULNxVkSVbwEMhsZCwljvxS/dj4 aWQJkcNg4Ur7cBUZJ7O5Ua+I46yHfYnyZOnOyvN5dYfmnD1KB1vYkrWRF2S/4eAZNz3e wyu4HA196JmnBhsvFZmLhqtXzqKyi+Hz3sAu2rKSmP5WHU5MtIPR1DYeuoZQWC7i+63v HLEoi62vh9HSS1WvY6AH/iVvnUnhP/Hz+fLsd0JTJX74NMizIXMBWsbiki3ZOOTHbV0L iWZg== X-Gm-Message-State: ALoCoQkS15nqBVFrtjCxt1ts12XJYFGp+CNhfvD8CkW+y4b/+/v7xruNHLpXgRs08NrjHWQ2DOWj X-Received: by 10.180.36.226 with SMTP id t2mr3320439wij.37.1395912879779; Thu, 27 Mar 2014 02:34:39 -0700 (PDT) Received: from xps13.localnet (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id h5sm10587611wiy.18.2014.03.27.02.34.38 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Mar 2014 02:34:38 -0700 (PDT) From: Thomas Monjalon To: Olivier MATZ Date: Thu, 27 Mar 2014 10:34:38 +0100 Message-ID: <14694632.xyPQeQAJ2M@xps13> Organization: 6WIND User-Agent: KMail/4.12.3 (Linux/3.13.6-1-ARCH; KDE/4.12.3; x86_64; ; ) In-Reply-To: <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> <5333E00C.3090806@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 09:33:07 -0000 > > 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