From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e23smtp02.au.ibm.com (e23smtp02.au.ibm.com [202.81.31.144]) by dpdk.org (Postfix) with ESMTP id 77EDF5FEB for ; Mon, 3 Aug 2015 08:30:55 +0200 (CEST) Received: from /spool/local by e23smtp02.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 3 Aug 2015 16:30:51 +1000 Received: from d23dlp02.au.ibm.com (202.81.31.213) by e23smtp02.au.ibm.com (202.81.31.208) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 3 Aug 2015 16:30:48 +1000 X-Helo: d23dlp02.au.ibm.com X-MailFrom: chaozhu@linux.vnet.ibm.com X-RcptTo: dev@dpdk.org Received: from d23relay09.au.ibm.com (d23relay09.au.ibm.com [9.185.63.181]) by d23dlp02.au.ibm.com (Postfix) with ESMTP id 8A1952BB0057 for ; Mon, 3 Aug 2015 16:30:48 +1000 (EST) Received: from d23av04.au.ibm.com (d23av04.au.ibm.com [9.190.235.139]) by d23relay09.au.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t736UcU829163666 for ; Mon, 3 Aug 2015 16:30:48 +1000 Received: from d23av04.au.ibm.com (localhost [127.0.0.1]) by d23av04.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t736UEqi014788 for ; Mon, 3 Aug 2015 16:30:14 +1000 Received: from os_controller.crl.ibm.com ([9.186.57.26]) by d23av04.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id t736UDkE014006 for ; Mon, 3 Aug 2015 16:30:13 +1000 From: Chao Zhu To: dev@dpdk.org Date: Mon, 3 Aug 2015 14:31:56 +0800 Message-Id: <1438583517-19035-1-git-send-email-chaozhu@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.1 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15080306-0005-0000-0000-0000023CAFFC Subject: [dpdk-dev] [PATCH] fm10k: fix the compilation on big endian platforms 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: Mon, 03 Aug 2015 06:30:56 -0000 The using of rte_cpu_to_le_32() in pre-compile macros will cause error 'initializer element is not constant' on big endian platforms. This patch fixes the compilation error of fm10k driver. Chao Zhu (1): fm10k: fix the compilation on big endian platforms drivers/net/fm10k/base/fm10k_tlv.c | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-)