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(-)