From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by dpdk.org (Postfix) with ESMTP id 10FDA1B2D0 for ; Fri, 26 Jan 2018 14:14:26 +0100 (CET) Received: by mail-wm0-f68.google.com with SMTP id b21so21151158wme.4 for ; Fri, 26 Jan 2018 05:14:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=RgvZQp4Sllmr3cf3WcCFtNT7VFvofW2p8JpLvlPggwU=; b=mQcRidTCEl4xIfZaYfqUJ5yu8xJo6j8aphxwdKottyiac7IllbBnYut5N6tZ+hKM6E tpvWgX6yN33bSPJwgo7SruPAE8n/FfpOXgyIcv2pBWU+3vmiWqqbxrqbaPAro/yHDitU x/WsJhMr7jV+wcn8JQdpoCy4br/g5y/QbsioiNc0CVd0xvOUp4dqiynHizcTCrHsEaza vIS07HYzwQslCgXUvzKeyAvvq3A9WDnbFq7Y1ykHXilfll9UMzucyn5vHKWe7V3ntfy+ 6qHt26trgb+TcpE3k5kBDFrC6CQ3aQyrZm0qJi6UF4A1ErrTWhKDPSZVcfzhoEX9EP6Z QU3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=RgvZQp4Sllmr3cf3WcCFtNT7VFvofW2p8JpLvlPggwU=; b=iX73ZkovWaBzJgpRqw26BytHo2HGU7iOtbrWtBg8xDXoTS6d9cXf+PI3x3Eh/ntuAX oGV53kz4imsmE5bjHNRh+MDC3PCYz3QDEsmbm0pPg3bOvAtFP8oIBTMmEGTeYQGmBpZI QmNYcFKQses5eUpv8pSw1xfXqxOQ5xu79PyYKWBp2GHQBg69NEOy/IZTH0+SQcCfd4QR nNvOLAQqx8T96itR88dgEFBGgM0Qs+F62VkqLnmK/aEuTfdHyTx15Ute89tF4xDWi0cG clEiO6S/lbPeAUJimw5cIyAFC9UW5U3E7esUGyLRZXa8JippcO5omk1JYV5wdwwYvhkH lTBg== X-Gm-Message-State: AKwxytfRaZI/rXqgERs//M42mXatOqohhqEy1JunybEKuQCN2Ro8itTj oEcLysH0jkZB+2RRML2wV3zGHDp+uhw= X-Google-Smtp-Source: AH8x226sDrfb6PSWRnF14exLyHJwIKIB6nQ0Dbjb9eDwiPW7MD6bdoR8rKRRcMtptzeriBgKjHKk2g== X-Received: by 10.28.19.210 with SMTP id 201mr11234942wmt.79.1516972465797; Fri, 26 Jan 2018 05:14:25 -0800 (PST) Received: from localhost ([2a00:23c5:bef3:400:9531:588b:44ae:bec4]) by smtp.gmail.com with ESMTPSA id w14sm4168861wmf.32.2018.01.26.05.14.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Jan 2018 05:14:25 -0800 (PST) From: luca.boccassi@gmail.com To: Hemant Agrawal Cc: Bruce Richardson , dpdk stable Date: Fri, 26 Jan 2018 13:12:45 +0000 Message-Id: <20180126131332.15346-15-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180126131332.15346-1-luca.boccassi@gmail.com> References: <20180126131332.15346-1-luca.boccassi@gmail.com> 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 16.11.5 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: Fri, 26 Jan 2018 13:14:26 -0000 Hi, FYI, your patch has been queued to LTS release 16.11.5 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/28/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From 34f112ca8674278a16e9c6d98f535f96591eef64 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 cca19efcb..f85668e7c 100644 --- a/drivers/net/ixgbe/base/ixgbe_common.c +++ b/drivers/net/ixgbe/base/ixgbe_common.c @@ -4552,7 +4552,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 */ @@ -4572,7 +4572,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.14.2