net/ixgbe: fix ARM big endian build
authorHemant Agrawal <hemant.agrawal@nxp.com>
Mon, 18 Dec 2017 07:56:49 +0000 (13:26 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 12 Jan 2018 16:27:08 +0000 (17:27 +0100)
commit704e657beaa64239a92f792f2514fb6fa5e2013c
treefe68feae3fc9c05795f5c5ecf7300180bb79ff10
parent80c557be08edbcb59d4d964150821f3be35533e1
net/ixgbe: fix ARM big endian build

fixes the following compilation error on compiling with ARM BE compiler

ixgbe_common.c: In function ‘ixgbe_host_interface_command’:
ixgbe_common.c:4610:22: error: passing argument 1 of
‘__builtin_bswap32’ makes integer from pointer without a cast
[-Werror=int-conversion]
   IXGBE_LE32_TO_CPUS(&buffer[bi]);
                      ^
Fixes: aa4fc14d2cee ("ixgbe: update base driver")
Cc: stable@dpdk.org
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
drivers/net/ixgbe/base/ixgbe_common.c