Message ID | 1513583809-3926-3-git-send-email-hemant.agrawal@nxp.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp2526799qgn; Sun, 17 Dec 2017 23:58:13 -0800 (PST) X-Google-Smtp-Source: ACJfBov7gOJtlXP+CFmG2eC1lSTfeoGESyJkaTwKkAaFMc3LAISyGGTIFsucAawLdwFY0AEYJRQp X-Received: by 10.223.188.66 with SMTP id a2mr5041862wrh.249.1513583893273; Sun, 17 Dec 2017 23:58:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513583893; cv=none; d=google.com; s=arc-20160816; b=jN/ydLFzcqsFOrhdJybOEXSQotazJ8IGrpK7oP16MZ7XXqgnF1hLQvJz6CiPwNa9Pg x9A/N9DgbmbgQuRIJ4rhBVkH6hxdX5ESEPD6Q72zqDLhLqHF22XD/IwtCouKL5Szfg2l 7p++9oc6jSCP0YPbdHug1JpshhH5zk3HjPAHr9RyDdNDZfyPMmb3fr/Ss7OGlzEj2IKB spNc7NHMvbTvUs7n3W67luBowYXPnw9lYIXC7EioZabtdLrSY+bn/7ix+MJELgaEHqjy fGgUcZqGwhRan3in4A2bFJiMzUX7ff2wVvUT8RNLUAZ4bbGbftKFKWGH5O+A6G6GMto/ LVSg== 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:mime-version:references:in-reply-to:message-id :date:cc:to:from:arc-authentication-results; bh=IRT7md+AAOFzkpfrAybXYD0Q24wxfGXRSoM6SmHM1H4=; b=ru0juP8RD4cXUq9HzPaICRgrPCB9EUIi32Y6JJ1xVJopJIAUGuqMnGjfiIs+T6e4ir S6kSt5i03LGNVtzU5PTeetXXP2ro1dRNEaaGDxxLyu/r7m8bAplYeElaIip8CijRAkmb dBxb3n92/w0+52Jyu0xFE9o1IPFkf/wV5ksXtlnNQ1GV4CXTHUCA75fTL8kCcFEm+ozi u8M0v9UPw1V11/7DOqZVKAWbCGfDiZk/Ij9NaReFa8uWY5S1+t4KpHeC4m2AZCiHJw3P G5ExmisTliWFIDYBvbeUU6kxrWX+gTiU6ccmwJ33brPzoSkg2rJ798APDPjU6sO0W+UD /66w== 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 o8si9164646wra.543.2017.12.17.23.58.13; Sun, 17 Dec 2017 23:58:13 -0800 (PST) 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 E7F021B017; Mon, 18 Dec 2017 08:58:02 +0100 (CET) Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0080.outbound.protection.outlook.com [104.47.33.80]) by dpdk.org (Postfix) with ESMTP id DD0871B014; Mon, 18 Dec 2017 08:57:58 +0100 (CET) Received: from MWHPR03CA0022.namprd03.prod.outlook.com (10.175.133.160) by CY4PR03MB2696.namprd03.prod.outlook.com (10.173.43.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.323.15; Mon, 18 Dec 2017 07:57:57 +0000 Received: from BY2FFO11FD042.protection.gbl (2a01:111:f400:7c0c::133) by MWHPR03CA0022.outlook.office365.com (2603:10b6:300:117::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.323.15 via Frontend Transport; Mon, 18 Dec 2017 07:57:57 +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 BY2FFO11FD042.mail.protection.outlook.com (10.1.14.227) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.302.6 via Frontend Transport; Mon, 18 Dec 2017 07:57:46 +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 vBI7vl6G011541; Mon, 18 Dec 2017 00:57:54 -0700 From: Hemant Agrawal <hemant.agrawal@nxp.com> To: <dev@dpdk.org> CC: <thomas@monjalon.net>, <bruce.richardson@intel.com>, <nhorman@tuxdriver.com>, <stable@dpdk.org> Date: Mon, 18 Dec 2017 13:26:47 +0530 Message-ID: <1513583809-3926-3-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513583809-3926-1-git-send-email-hemant.agrawal@nxp.com> References: <1513169578-28440-1-git-send-email-hemant.agrawal@nxp.com> <1513583809-3926-1-git-send-email-hemant.agrawal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131580574662454497; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(336005)(39380400002)(39860400002)(346002)(376002)(396003)(2980300002)(1109001)(1110001)(339900001)(199004)(189003)(48376002)(68736007)(81156014)(106466001)(50226002)(105606002)(51416003)(16586007)(54906003)(5660300001)(104016004)(4326008)(8936002)(498600001)(59450400001)(6666003)(97736004)(76176011)(316002)(2351001)(85426001)(2950100002)(6916009)(81166006)(356003)(47776003)(8676002)(305945005)(53936002)(86362001)(50466002)(36756003)(77096006)(2906002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR03MB2696; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD042; 1:g7E1dh4T0v2zfQQV0rGoga4PBfXRze9UVW4dt+piLn523WJrNMfD0qNbqhn3z14+b9YHcsJ1MwhdswXfcMJdqgyMwyqV6xPkQCyd/7Z8ytzHb1vXsKxiEbMxc52XRIF+ MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6025499f-be62-4597-ece1-08d545ed068f X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(5600026)(4604075)(4534020)(4628075)(201703131517081)(2017052603307); SRVR:CY4PR03MB2696; X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2696; 3:y14VEiTc76VsKSBUPmEQJV/QUfcYHDCFNH5jEoDuMVQKAPCIuSH8Qo1iZ5leXtaTF6uommns3PLvwzElAygLwbrJDx1Bi9dRuMHtT7MBQooNx7Rolq+FdLWFWJarl/fL4lg7g1ZYQt5fY4SACfPqoTulVKsOwakTyuyyUdjmnOYuDSGGup/B+dBIgEVB7LegZuC+5vtBxacSX6l44VYTj9f74Y5SHktqxZzMNgn9Izwv4ThZaZavFEdZTQo37p3y1JkANwrxgAhjFDu9HWBphdoqVUjBmiFUGc3m/UF2sgd2KtRZx1+rAh++OQfFER74Gx1tAIdZ7Lh8mY9HVHYyqI6+pUgpRL+Ry3GQATsITQc=; 25:iHTYlSKYWeT/bpgnJD67oXSQp7h59PGL1BBg4CmIJNEbY2JRWZMlZ2LrtMyHpQI3lRHvRUXjXrnHudU3NJk5YMcj9ElsLk6aek2izkihwHC9dbLz/uGM4fDBVL3mwBboPP/TuSEGVl1Ch6YQ0acn5te/zDpOPkmhsf60cC+dvg8zWqALLOylRJ9Ht1L1ZB6VAjdWy8xYVWd+wF4ARpA8NG4wbV0at4SSRcI8XXJTMSsNsO2Dii9mQwNL4kpitzMJKLfEPwz2y9ed2VTbzxipi5JWyIUykPMISXWYFStWtxLzP0u8XHzbTR4yoVcQaYNMpbbWeJ31Nj5xIArXN9kXoA== X-MS-TrafficTypeDiagnostic: CY4PR03MB2696: X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2696; 31:UYKKfMZINNsTkQ2czfCSi+PG6gq077AsTyDOKodE0yVFjoi/dlZlX72fh72mWtyd55lRS8pjLsGipLbkOlMB5yMuXpl6U5UPjcV+FrNI0Qa3UJIQYGwedc0trngJgGrPE1Z818VinEwkP1OvHNreYIgWPjoGHQLa+BfPQEVPT9qWnKjsyvfFc8yRlPSbgRtddVa843SOjjJPWQCr4o53xoOiy0pNPFOA9no4H6Wgl24=; 4:EMI+2oCpRuFF6s17I/W1SNZEbwTb//eK3XD4OeDdEIWnfMHFWW6SgytBJGXTsfm6GRVrovDYU8u6F8utPY2O7gJWQlEHCqePTG4dRpcjKIKjmy7gz6RHwDGWS9c3kyEIi5EErbGawrDYL5egyI21C33yZBerEwF0q6Z0AMTxUKrVabCHAugYRfzao/SUdHGH99uJ3OpyILmTt8O+cH/Z5lVVNayGU3WFpBLTYWUi8Q+Pqb0lrBU2tu+uF3jSZ30GTQXKhGqTqX5S6dCvb3HzBvWVyFJC8A9Q0E8IhkKpKXq5QKgY87cgkqJF4CvYgrER X-Microsoft-Antispam-PRVS: <CY4PR03MB26965F005EEDD9FD7456F42F890E0@CY4PR03MB2696.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(5005006)(8121501046)(3002001)(3231023)(10201501046)(93006095)(93001095)(6055026)(6096035)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(201703151042153)(20161123556025)(20161123561025)(20161123565025)(20161123559100)(20161123563025)(201708071742011); SRVR:CY4PR03MB2696; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:CY4PR03MB2696; X-Forefront-PRVS: 0525BB0ADF X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR03MB2696; 23:09x99+ulzP7CziTidrxwhVUaYWgsFHr9Vt2mPjXR/?= 7jvhjRHl7MiR25kJsqzW8N5p4SHMQJVEWWzLQLA8euGBrTnE32Sbz/KhLnypNnCAS3CeaU5isbHkbnVLiH5WbHMNA6ZseMuSBF8L3I1lxhobW/To1B0HEcM10I0aOxcanQtHEXtqH81tGqXue8ovCwzqLK925fpyoq0+jAl6U3T4y/iB1UZaHbIuXZVZKhpmQjBn7onf5qWrKd3gk6cIRiPOweWWRy21jNp79gMFZRooVUWiyHLN48RfFNd5fuIi7qvIxcJ1QTzuGPRvceCYjKYXLNtHg2P9LWWK1ZVlqRtF5U8UjN12kuWDSgdV+deSJBg3yH2tVHH6NVCaZpOWe8E0ICM0FJW/nvGh52FMlVTM5er7U7R8NqITUMatvlqiILtsf5IOtKjAo3DTXT2wv+ShuOZdEwnjVZSKKV/hmpoBqXD9bDrsJfCQJZE88lmAKwF57bQ72xbLfMhgQIAH8dr+ueL9Y7uQieN/4GZ+WiHQsoYumRjdJje1WaorphTx6ZUdaObfN0eVBISg4Nt35fetHbQ+v+1lIliRzfNbrwSUM2dA7jQq8Ih/HCevl8qkIZpdH1oI3Wpgi4fR7j+UUm6MnnyBMtVCLldJgJ5K4IJx8bhWh/EeuMUDezdLGY7NwRAxWh/LNW0kFZFrTdTUJky6GbTiGECojlJgbN6FF5szCdn6GQqYTGP/3FtSGo5EduiqKVN1GRmr4mzdDNQOVDzU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mOjU1xmFuXelsl08DonyXG2SmscgOCOBaF/H67mKl9ziE0r/nYGA+zNatV8BLXGlaTTNWRPBeXl1vaLdqhBt4s5rKVcV+dt9sTN13m0c56N4msTg5ul79FU/XB8HxV3L0tcbtllDd1OuCXn+femzUZUGrbzlbdb/7Eq3xGRyhgW+KMeAIFcJEPFY5iBwkrz8tkA46upKAQ0ra3dVjQST5be3q/yzPyGAno SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Dec 2017 07:57:46.0582 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6025499f-be62-4597-ece1-08d545ed068f 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: CY4PR03MB2696 Subject: [dpdk-dev] [PATCH v3 3/5] bus/dpaa: 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: <https://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: <https://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 |
[v3,1/5] pmdinfogen: fix cross compilation for ARM BE
|
expand
|
diff --git a/drivers/bus/dpaa/include/fsl_qman.h b/drivers/bus/dpaa/include/fsl_qman.h index eedfd7e..72556dc 100644 --- a/drivers/bus/dpaa/include/fsl_qman.h +++ b/drivers/bus/dpaa/include/fsl_qman.h @@ -1993,8 +1993,8 @@ static inline int qman_poll_fq_for_init(struct qman_fq *fq) } #if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ -#define cpu_to_hw_sg(x) (x) -#define hw_sg_to_cpu(x) (x) +#define cpu_to_hw_sg(x) +#define hw_sg_to_cpu(x) #else #define cpu_to_hw_sg(x) __cpu_to_hw_sg(x) #define hw_sg_to_cpu(x) __hw_sg_to_cpu(x)
Fix the following compilation error when compiling with ARM BE compiler. drivers/bus/dpaa/include/fsl_qman.h:1997:25: error: statement with no effect [-Werror=unused-value] #define hw_sg_to_cpu(x) (x) Fixes: c47ff048b99a ("bus/dpaa: add QMAN driver core routines") Cc: stable@dpdk.org Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> --- drivers/bus/dpaa/include/fsl_qman.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.7.4