From: Chao Zhu <chaozhu@linux.vnet.ibm.com>
To: dev@dpdk.org
Subject: [dpdk-dev] [PATCH] fm10k: fix the compilation on big endian platforms
Date: Mon, 3 Aug 2015 14:31:56 +0800 [thread overview]
Message-ID: <1438583517-19035-1-git-send-email-chaozhu@linux.vnet.ibm.com> (raw)
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(-)
next reply other threads:[~2015-08-03 6:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-03 6:31 Chao Zhu [this message]
2015-08-03 6:31 ` Chao Zhu
2015-08-03 9:06 ` Thomas Monjalon
2015-08-03 11:32 ` Chao Zhu
2015-08-03 11:38 ` Thomas Monjalon
2015-08-04 0:50 ` Tony Lu
2015-08-03 8:53 ` Thomas Monjalon
2015-08-03 9:02 ` Chao Zhu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1438583517-19035-1-git-send-email-chaozhu@linux.vnet.ibm.com \
--to=chaozhu@linux.vnet.ibm.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).