From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 8BCCF1B1B8 for ; Wed, 24 Jan 2018 16:36:43 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 43C5D2239B; Wed, 24 Jan 2018 10:36:43 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 24 Jan 2018 10:36:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:content-transfer-encoding:content-type:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=QaVaDQh9pbRBGtvZP 5lA/oVJlcZNp/pA8e1tmEHC/z0=; b=s31hXCG1d7ddJ17wzOFYyDTGR2DoBnOdd iPsL4hUIGfbQfE7qDQIBWEmykwhWOp6mBd/v+F5jOtFeA9CWQnXDiAG2BJPhbhk3 agbicqvN1lRmPfQuwodnZB0J6T1F7IoiOLJ9cOih6IbWrrdd1/ofbJ1A7TKySAk8 jji+m8FsY6TB8v+eeq78vGMCA/y5Pe9Pzaqlvr7Ck1sx09d82PYtwvtSdtSJv95K KGldWitoGczPikdGcUc5SKMjg+eqx1XSK0IH0nUINsmb2NYedIG9etxc3pMZLf5J GEsAO4ba8XztkQ1C7OTLWAlvpFxzlZVufSQ7nW9+pTqJf1P0jdpng== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=QaVaDQ h9pbRBGtvZP5lA/oVJlcZNp/pA8e1tmEHC/z0=; b=pnUvfEwWmFV37uU3zI4rsh WdOzN4OxXR+AmP6AB3Y5f9sqYSMZigqayWCGA2DuGJBh4Gtbmftz/GhURn0T4Y3/ KZI3TgXgI4dmnVaBjyw/BiRshmU/SYfuknQ4H6jqT/GWS/uE82whlIYZ4wueXgU0 561L585T7vPQUJStpurHtLvTv8hzSxjqTo63p42TFl9k3MBVuD/VIlyPfX8mWYS/ ReJ2Rt/T1fizIwDCgkHdTguvMKx6GvnpvkEOPCvH32CKkS0dJQ8izKG8iBe7yEpv lHy3vJSKt2pRvwH5iEf+IL3rcBpICqhOMFDmbw60AQ3ld7VmQuz3f471heRyMO0w == X-ME-Sender: Received: from localhost.localdomain (unknown [115.150.27.206]) by mail.messagingengine.com (Postfix) with ESMTPA id 6AA077E3D4; Wed, 24 Jan 2018 10:36:41 -0500 (EST) From: Yuanhan Liu To: Hemant Agrawal Cc: Bruce Richardson , dpdk stable Date: Wed, 24 Jan 2018 23:31:28 +0800 Message-Id: <1516808026-25523-20-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> References: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'net/ixgbe: fix ARM big endian build' has been queued to LTS release 17.11.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jan 2018 15:36:43 -0000 Hi, FYI, your patch has been queued to LTS release 17.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 01/26/18. So please shout if anyone has objections. Thanks. --yliu --- >>From dab35120edc4a3235ef9bec09bd042830dc8cc2d Mon Sep 17 00:00:00 2001 From: Hemant Agrawal Date: Mon, 18 Dec 2017 13:26:49 +0530 Subject: [PATCH] net/ixgbe: fix ARM big endian build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [ upstream commit 704e657beaa64239a92f792f2514fb6fa5e2013c ] 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") Signed-off-by: Hemant Agrawal Acked-by: Bruce Richardson --- drivers/net/ixgbe/base/ixgbe_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ixgbe/base/ixgbe_common.c b/drivers/net/ixgbe/base/ixgbe_common.c index 7f85713..5e6ad95 100644 --- a/drivers/net/ixgbe/base/ixgbe_common.c +++ b/drivers/net/ixgbe/base/ixgbe_common.c @@ -4607,7 +4607,7 @@ s32 ixgbe_host_interface_command(struct ixgbe_hw *hw, u32 *buffer, /* first pull in the header so we know the buffer length */ for (bi = 0; bi < dword_len; bi++) { buffer[bi] = IXGBE_READ_REG_ARRAY(hw, IXGBE_FLEX_MNG, bi); - IXGBE_LE32_TO_CPUS(&buffer[bi]); + IXGBE_LE32_TO_CPUS((uintptr_t)&buffer[bi]); } /* If there is any thing in data position pull it in */ @@ -4627,7 +4627,7 @@ s32 ixgbe_host_interface_command(struct ixgbe_hw *hw, u32 *buffer, /* Pull in the rest of the buffer (bi is where we left off) */ for (; bi <= dword_len; bi++) { buffer[bi] = IXGBE_READ_REG_ARRAY(hw, IXGBE_FLEX_MNG, bi); - IXGBE_LE32_TO_CPUS(&buffer[bi]); + IXGBE_LE32_TO_CPUS((uintptr_t)&buffer[bi]); } rel_out: -- 2.7.4