From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) by dpdk.org (Postfix) with ESMTP id 14F9B6A8B for ; Tue, 30 Sep 2014 19:08:16 +0200 (CEST) Received: by mail-wi0-f176.google.com with SMTP id hi2so394258wib.15 for ; Tue, 30 Sep 2014 10:14:57 -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=t8XMIT4OwFpkVeZeL3ynXzwNWRCvCoXab+OBwSe+Y4c=; b=RFkyvdppotbKH8pRoXM14ldcD3Yl8H/mbeBTRZYsjZqKsJ8egkIGPojzBDgvMWUZ9a waKLYLxb9nEvU23NHRKy3DOjapZrNW3tlAjWxbb2N5uSNrn+Jtpdm4I06lwnW5lLoJq7 2uHrLXrMJTRhSIb7zROIAz+rNLRCE2Ey9fVc4ix6Co5m0qyRoZ3H0+lTQKl2G8iKKbCq fwpalPgmlXSIOGxSdkzSgKbnAhFTQGJFlUH9ZpHF37BTeeyIlgmmcIA6FJ99uRJbDxXO DzzaThWzR88v21x0ONm2M91k13nYFZDZoIXZsOp7bceWd4jPeFGHgt50kjsVTwT4EGZY fB1w== X-Gm-Message-State: ALoCoQnA+e44xKwc1//FshOG9zkvV5E1jKGwwf5hRKCiWGcPC+FNo7ClC0Xxjt3uTTQLde8OBWAF X-Received: by 10.180.86.33 with SMTP id m1mr7230577wiz.11.1412097297392; Tue, 30 Sep 2014 10:14:57 -0700 (PDT) Received: from xps13.localnet (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by mx.google.com with ESMTPSA id i1sm17898172wjx.32.2014.09.30.10.14.56 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Sep 2014 10:14:56 -0700 (PDT) From: Thomas Monjalon To: bruce.richardson@intel.com Date: Tue, 30 Sep 2014 19:14:45 +0200 Message-ID: <4234350.b4MBTPmRMN@xps13> Organization: 6WIND User-Agent: KMail/4.13.3 (Linux/3.15.8-1-ARCH; KDE/4.13.3; x86_64; ; ) In-Reply-To: <2306E3D2-B159-42B0-AA59-3B3400E9A2A6@windriver.com> References: <1412070008-4782-1-git-send-email-bruce.richardson@intel.com> <2306E3D2-B159-42B0-AA59-3B3400E9A2A6@windriver.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] ixgbe: Fix clang compilation issue 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: Tue, 30 Sep 2014 17:08:16 -0000 > > Issue reported by Keith Wiles. > > Clang fails with an error about a variable being used uninitialized: > > > > CC ixgbe_rxtx_vec.o > > /home/keithw/projects/dpdk-code/org-dpdk/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c:67:30: > > error: variable 'dma_addr0' is uninitialized > > when used here [-Werror,-Wuninitialized] > > dma_addr0 = _mm_xor_si128(dma_addr0, dma_addr0); > > ^~~~~~~~~ > > > > This error can be fixed by replacing the call to xor which > > takes two parameters, by a call to setzero, which does not take any. > > > > Signed-off-by: Bruce Richardson > > Acked-by: Keith Wiles Acked and applied Thanks -- Thomas