Message ID | 1509617335-6354-5-git-send-email-hemant.agrawal@nxp.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp1964956qgn; Thu, 2 Nov 2017 03:10:32 -0700 (PDT) X-Google-Smtp-Source: ABhQp+TSNFGOq360QYaT6nbQ1+D4043KJMBJ0olQGbWVRY+8dr+iULj5pJ8GQ5r+Q1cH3UgVHlNU X-Received: by 10.28.144.140 with SMTP id s134mr1265889wmd.82.1509617432252; Thu, 02 Nov 2017 03:10:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509617432; cv=none; d=google.com; s=arc-20160816; b=eRCBV8ODFGoSluZM6ah8g1YnACfrKs5TzqbOzc5qBSy1VMA7cebizAXdh6ULTbU89C Hzn3mQhABFrTAH7Mup/zZgnuweewXDgl6hqpAQz8bWgXXPFMIw0Ocydp01eKM8AuyY+U kTBsku30rVSwYaEfTK7H85VmWfBk0BqnIhLDaapJ/SWIFWZ7O+Q9ekJNBCQ6v0UsPAc+ f/XNc6pkrHQg8330cVGPlCQinThX9zZ7JRHAcCiNzUeIwkJjoE+4Uyx0ZwM50UCcBSX9 4GKm6hL9QGIxbeo/Tp+sqJ1xBC68TJYpZilyZHsaGA2OUbu+uuQHfKbTPBmisgN+jCwg 6Vfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:cc:to:from :arc-authentication-results; bh=T8BRBrpVcgXcMaBpPsHBWGxXHekeqtz4Pd7HyG2pso0=; b=SmQGmF5464O59rhYwP7/H+r6pfpGYUyPKAPrWImL1HMaL88btYQgx0uDrXWIvM3xK0 QNo9j7yfhhSlKVntj/QtlvZ65AjO/YCs8tkNFjqITUzebJ0kfJVReKceOicomRbvaI8q Cm9g7nA7e5fQ6OgwuGIbrSsLliR2HBbv+tERhfYQQqAC3EMLTk+FSHWiIY2QFK9RI+oL v8aDtCNuC/mtu30CPGrZ40OkHLK35cSgSiYOFIKQujW3eLUxN2PevLnjivvPpq02hKzs yHyfCZ86+KjFGxzTTKJQVKFktrFIPt6GoreJyzlPXv+xy7gkmWjidfy9FD7K/40OWfdf FqZw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: <dev-bounces@dpdk.org> Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id t69si2523349wmt.200.2017.11.02.03.10.32; Thu, 02 Nov 2017 03:10:32 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 287C81B3DD; Thu, 2 Nov 2017 11:09:55 +0100 (CET) Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0064.outbound.protection.outlook.com [104.47.32.64]) by dpdk.org (Postfix) with ESMTP id 22C6E1B3C2; Thu, 2 Nov 2017 11:09:52 +0100 (CET) Received: from MWHPR03CA0017.namprd03.prod.outlook.com (10.175.133.155) by DM5PR03MB2700.namprd03.prod.outlook.com (10.168.197.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.178.6; Thu, 2 Nov 2017 10:09:50 +0000 Received: from BL2FFO11OLC002.protection.gbl (2a01:111:f400:7c09::122) by MWHPR03CA0017.outlook.office365.com (2603:10b6:300:117::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7 via Frontend Transport; Thu, 2 Nov 2017 10:09:50 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BL2FFO11OLC002.mail.protection.outlook.com (10.173.161.186) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.178.5 via Frontend Transport; Thu, 2 Nov 2017 10:09:50 +0000 Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.134.28]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id vA2A9bnU031572; Thu, 2 Nov 2017 03:09:48 -0700 From: Hemant Agrawal <hemant.agrawal@nxp.com> To: <dev@dpdk.org> CC: <ferruh.yigit@intel.com>, <stable@dpdk.org> Date: Thu, 2 Nov 2017 15:38:55 +0530 Message-ID: <1509617335-6354-5-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509617335-6354-1-git-send-email-hemant.agrawal@nxp.com> References: <1509617335-6354-1-git-send-email-hemant.agrawal@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131540909904049648; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39380400002)(376002)(39860400002)(346002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(498600001)(33646002)(8936002)(36756003)(47776003)(86362001)(50466002)(53936002)(5820100001)(2351001)(4326008)(105606002)(54906003)(106466001)(76176999)(189998001)(85426001)(8676002)(2870700001)(77096006)(5660300001)(316002)(6916009)(2950100002)(104016004)(97736004)(81156014)(50226002)(6666003)(68736007)(81166006)(305945005)(23676003)(356003)(2906002)(50986999); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR03MB2700; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11OLC002; 1:9/ved1sBRD5NLO2gUot3HcD808pyB0Son9MtqqssYUOcQRljkV8MQlLi62KcarLK78biHpS2OoEs6WZKfkpIuYery57LdrZat7+0b0ikwv0HbspyErAKmJsgJ0A/dV30 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: da928d1b-1ef6-42e4-d492-08d521d9dab7 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4628075)(201703131517081)(2017052603199); SRVR:DM5PR03MB2700; X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2700; 3:a8D5IHbHSB0Wuc2+CYIx+TFv66TDvGNJCBZTQaVRH+pjPXZX3CuO5yGIk398ancyrrKX7XeJHvUbSk92yt93hYb74Nmrq/k/TGnrF1FNPDz9bEkiuQjL9MVt4GjpwFd5iQl0AIJ2Z3K3NVR/4KfgAknI+BsvrZiyNHIEKMXI5HmU/YcMflyfQW2sG1pNUDDrAlM7Bxudnu+bLH0HKvdzpSqg47lCEdB9sdq01uhTZPFIOPz3OvKJ6x8Kbrg3uKcbTO0LuqmspB5LRHdNHNtngvoRSRw0rwX9VHcTIX9cKIv6ZCjqJJcyiABixWrzBmlB6nllxZNtjZa8QgnJ95bt5aIMz1pO3oWYgcbZIU79XIg=; 25:gOMvTY1WhqfoT/MCOcoesSur9b1nIq7CanTwpnW+Sh7FWgMm+dzN4DjGfDY7qhRG4tPYnGqGDc7zqxCyy2NGdH4ihRpztWcqRhx8gw1fuTzWZ8VUdaA4kwtiYf1W144lfUVfOf6bw3JJPxPTW5K4cMXw7srgkoIsxeblI3BOrvpOHVsvTq9HH7QeASVVCS9TrsmiaHcePsNWB7H8HjRkJ+6Gw8Jmd8dDPpjHrglPnizbsieba9/RJUB4oKXrGaYfOf9RiIYfhgdquyOYY9C8s3nxpVZDY2GoPeEiy7ovJ1Ns35iDXnvszNNNLgRvtNamxZv3c55p7sKSuk3QrKC86w== X-MS-TrafficTypeDiagnostic: DM5PR03MB2700: X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2700; 31:auZHBPvcU+o4MB0B4xC8qtN2AuYftuDAva/mtd+JrS41Joowh8n1z9Q7IqVT0uOYryi3tu1Q4aZGDmSc1eOur5egMyydl/sIKAvJZbUCNx/IUGRrOJvglVKFawmPgugQs0FuWXWxnSMEF6/9l51VSZZjGx2pvAFrzCPw/FfDbRVFXE0DQl/k/ThEXk+ZGd87k3VtqHNLjXp1pkSsl9C95e/dnOdCbTMhIvbKPGmDpjY=; 4:MR6t88yvKzKSLFsnf6ev/njMqBeuA3DEa13omC2iNjelkmpPY5bEfpxDoH1LMVlMy1ezTftOq84P27EvUOLb8TkVC5Zgw8WIPGzj7L5mkWCHcZokpDtFDQ8h/0FZXS3DI5mAuPCCjxqJ7IoS+vkb7STAM35Qt2LyW6UmDNyOw7XOYaiz4xfTRvUdc3AqidFN7vD+HeKzhsWrmhU1D/qtWpQnfkrYe6SCojdH/l4xLO9EfBxfm9mhMSzhJx/uW67ELTX6gwzf+lTNBbowpRAmyt9Qe65Kiybh6qoIGbBvTn9cgHMruvonP0veqyon/DLB X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Microsoft-Antispam-PRVS: <DM5PR03MB2700DE302810968803BF03C6895C0@DM5PR03MB2700.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231020)(3002001)(100000703101)(100105400095)(10201501046)(6055026)(6096035)(20161123561025)(20161123559100)(201703131430075)(201703131448075)(201703131433075)(201703161259150)(201703151042153)(20161123556025)(20161123565025)(20161123563025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DM5PR03MB2700; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DM5PR03MB2700; X-Forefront-PRVS: 047999FF16 X-Microsoft-Exchange-Diagnostics: =?utf-8?q?1=3BDM5PR03MB2700=3B23=3AZzkZ?= =?utf-8?q?ypM72RnC6OjYY6RuOZ6Sb4BgjMQ1axdscffE/Ou85VrFV0V5AMRR7GPy?= =?utf-8?q?UHRdBk+RTcUlcg77pzMdvak1VcmhV2En8vwuwL6rnc0SKJi79fD0yJUz?= =?utf-8?q?7QF/U2+PpnWjn7KfEABQK0iHRYKz8FHsZiotsn27918D0cOSvkSSGYYX?= =?utf-8?q?Bt4qZwAsXqohZqdZ8Cj/Q4So+XF3LKPcphOpmeGIy19e6VkIrDuS9CIJ?= =?utf-8?q?+ohOQuF0cwS9kP685L7hWUe2/pLKE9fdbdxkgTS35TXon0tRWoLgMxZr?= =?utf-8?q?fo4vXxIyI09b/kWZgAQH5Mzf4gZ6Tt1yetS+wpjvopOjzxnCBEgXOi78?= =?utf-8?q?SgPMpzvqd1KnJMX14p7yjf0P/wPAmnH06w2EgoI9G/oGU8gynyJTDW+8?= =?utf-8?q?D3g3piJvZotLWZNOo1ewGGkQKdINGjRf3ITE2oRPDYwPArzO6msOHn/R?= =?utf-8?q?Qm91iIEZqxraRvq/yI+N+uK+2bQPmK/1RjCmCzuZnjUEQByOvMNUJuAN?= =?utf-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NCOtdkgRhsXPdxwANDddq7YDK5SFqIbRrcF4uehB/XTDYmeIP+CWHjWxHqnMGFzEuWMC8tz7XVACnj/KcNkFosHOTtZ+kJF1DtQXwjyiaxgAVLDTmw=; 5:6QBUeLDN3ugSXCiNlJW9n/tIZffcXTLKWy7Z+X0OLCN9Z9q0wHY7zNePKc8yea6Yc3UuyN/VCTXoHWmVOpuVmGvVUFoi1PGdyeLztsAJNLw+0TGfQeddT5fLuIslzz/hsrDjQNZljSIyqPf2bLzoALxDx8PS+zQ+5A4615qBFVc=; 24:kiOUsQGeTAfVL7uHiKHxRZ/XcUHoWhcFBJbAbL3jJEybgdP5cHCPANZcRSlIqFnUhxBCfAnC91gtQWz82N77q9xD0WvYygiAV9rroOctA5U=; 7:cBX1aIKloet6IlKBcX7gDhqiRDsxPw8MoTGX7+PAzmT6x/1TEohuDJVncazKakfn4Oj77VgFCqqxzjuMZT2tcP4596in/kOpsmi8llTf2B9G49xkkhe39chfFasYAUXgZCwIz58rhR2tX3Rk7+cWWrqebSWuAwftLcRxHIPj+C2HrsMAITRW2klurfWABlA5cWKdE2gPuM+9MCskaXGVWNJxHBSnZkxgtVy189gUrD1FJwsqMGxn0Hzj4u6qiZWR SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Nov 2017 10:09:50.2333 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: da928d1b-1ef6-42e4-d492-08d521d9dab7 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR03MB2700 Subject: [dpdk-dev] [PATCH 5/5] net/ixgbe: fix compilation on ARM BE X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <http://dpdk.org/ml/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://dpdk.org/ml/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <http://dpdk.org/ml/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
[1/5] pmdinfogen: fix cross compilation for ARM BE
|
expand
|
On Thu, Nov 02, 2017 at 03:38:55PM +0530, Hemant Agrawal wrote: > 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> Looks harmless! Acked-by: Bruce Richardson <bruce.richardson@intel.com>
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:
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> --- drivers/net/ixgbe/base/ixgbe_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.7.4