From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 To: CC: , 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+pjPXZX3CuO5yGIk398ancyrrKX7X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DQ8h/0FZXS3DI5mAuPCCjxqJ7IoS+vkb7STAM35Qt2LyW6UmDNyOw7XOYaiz4xfTRvUdc3AqidFN7vD+HeKzhsWrmhU1D/qtWpQnfkrYe6SCojdH/l4xLO9EfBxfm9mhMSzhJx/uW67ELTX6gwzf+lTNBbowpRAmyt9Qe65Kiybh6qoIGbBvTn9cgHMruvonP0veqyon/DLB X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Microsoft-Antispam-PRVS: 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?B?MTtETTVQUjAzTUIyNzAwOzIzOlp6a1p5cE03MlJuQzZPallZNlJ1T1o2U2I0?= =?utf-8?B?QmdqTVExYXhkc2NmZkUvT3U4NVZyRlYwVjVBTVJSN0dQeVVIUmRCaytSVGNV?= =?utf-8?B?bGNnNzdwek1kdmFrMVZjbWhWMkVuOHZ3dXdMNnJuYzBTS0ppNzlmRDB5SlV6?= =?utf-8?B?N1FGL1UyK1BwbldqbjdLZkVBQlFLMGlIUllLejhGSHNaaW90c24yNzkxOEQw?= =?utf-8?B?Y09TdmtTU0dZWVhCdDRxWndBc1hxb2hacWRaOENqL1E0U28rWEYzTEtQY3Bo?= =?utf-8?B?T3BtZUdJeTE5ZTZWa0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hxBCfAnC91gtQWz82N77q9xD0WvYygiAV9rroOctA5U=; 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2017 10:09:52 -0000 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 --- 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