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 7F82168AA for ; Thu, 18 Dec 2014 00:41:28 +0100 (CET) Received: by mail-wi0-f176.google.com with SMTP id ex7so17506375wid.3 for ; Wed, 17 Dec 2014 15:41:28 -0800 (PST) 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=P9dPaBpRFyUn7gtOLMEdqj6nH7XBUsoVXVTFlimubv4=; b=QNhQnTCFkhlLfPtZrIYUIIfvPWVieTvhUv816GzzVd4HawWSo1Nct0K2wGFJpmXGsX +vrw9bv+MjwCbF6vP6IRnasj5P8KJhF0YSpP/h19oNlX2kwzP5YXpXXHw0kHYChkwGhd 2nzpo1giw4TH8MdezHUXnKZDHgWgczZXtY/91MKiep8rjWqxVXXmt88hFsznqa2HxY4o v+f5Cc0bOBzgvaE+FE/jwNNJH68CVcWGkZbRqO4KxoSQoASDZ1KrojlPbwCKxU2gH+6w hwb+ulik/7t6+3pl0Ku9OgSbA+XIFup/DoRYjb2ilGpVAndrkTU1yyELNn7EwkK8quYI /U/A== X-Gm-Message-State: ALoCoQkUU3Qgks8E7/XGaKVjt4rsfaozAcm+nlxp99SP0aR0unHjM2D05p2g9S0BCj1CIlK14hxe X-Received: by 10.180.75.42 with SMTP id z10mr18889349wiv.70.1418859688389; Wed, 17 Dec 2014 15:41:28 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id d5sm6858222wjb.34.2014.12.17.15.41.26 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Dec 2014 15:41:27 -0800 (PST) From: Thomas Monjalon To: Helin Zhang Date: Thu, 18 Dec 2014 00:41:01 +0100 Message-ID: <1544745.Nsf0s5z0WG@xps13> Organization: 6WIND User-Agent: KMail/4.14.3 (Linux/3.17.4-1-ARCH; KDE/4.14.3; x86_64; ; ) In-Reply-To: <1418794859-7051-1-git-send-email-helin.zhang@intel.com> References: <1418794859-7051-1-git-send-email-helin.zhang@intel.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] i40e: fix of compile errors 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: Wed, 17 Dec 2014 23:41:28 -0000 > Compile warning which is treated as error occurs on Oracle Linux > (kernel 2.6.39, gcc 4.4.7) as below. Aliasing > 'struct i40e_aqc_debug_reg_read_write' should be avoided. Use the > elements inside that structure directly can fix the issue. > > lib/librte_pmd_i40e/i40e_ethdev.c: In function 'eth_i40e_dev_init': > lib/librte_pmd_i40e/i40e_ethdev.c:5318: error: dereferencing pointer > 'cmd' does break strict-aliasing rules > lib/librte_pmd_i40e/i40e_ethdev.c:5314: note: initialized from here > > Signed-off-by: Helin Zhang Applied Thanks -- Thomas