From patchwork Wed Dec 13 12:52:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 121763 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp5432358qgn; Wed, 13 Dec 2017 04:54:27 -0800 (PST) X-Google-Smtp-Source: ACJfBovKG1AcAVkjsEIPTmPCtJMvoykZlEjVuX/4OE1FrrFNzBJJLWLkPu7cgHpOW7wCDbQY83jy X-Received: by 10.28.26.6 with SMTP id a6mr2029546wma.8.1513169666926; Wed, 13 Dec 2017 04:54:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513169666; cv=none; d=google.com; s=arc-20160816; b=vIkRH/imFkvX4W2Edjg6JhDHRPNIn08LPbGzx45mSsxyYnYeipvU9KantZwuBKI/+S 6Wj4bZ/hoSzzDw1bqCJE9L+1j+uMaAvJTesM0AY6k7Ff7gFLXyAMtpg4HP1svB22OiXi knxMQsSUAtNCT11OQtysjL08IB+MVJvwf206ujqJb6eVe7qgMauyqBEfAEzi+cvgPqct 20oRDq2Fr24fs9qV3kwMdO+k9urg/kyaIe5c4LADQn+cUlXd4LtPf8Kx5UuWfFjAsgJs y4pX4kH6P7FzWVe5fwiypo1UiN/ygOwNRCrv/zp+hYIxX62o8p5qIl7e7W50Z5tfSrHI 2o5g== 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=XxV6g0pTFev71rqdcA04J43QsS4yt+gVRe+pHf9+hWOj85qfEDm+EUfCdscNBV+h4j 3LoLGZfcvYMC661B8m/gYCc1Eiqokj0qyE38aiza5iB6qoaLiFc8d4UgD6wKvZ2q1EpJ XuVWiSNQ0ceij9sAgUZ1Cdcwh6oeA6bqyjR05QbGv+ihISKJhdprTCDIgA4PDrh3tUuW uF7D3t8WpvEDWJQ06Rxu2pggitzfbKTIMga113Xqs+PiAID+cX/z2GktSGS6Yk3BVkl2 ZY0KFnmCbdZAlLfcTctft1evE/WOxRVAncdVOsF3085AvEKN01cDZprrgyqpMCPfUMyc X2kg== 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: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id b51si1417622wra.168.2017.12.13.04.54.26; Wed, 13 Dec 2017 04:54:26 -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 B37CC1AEF3; Wed, 13 Dec 2017 13:54:09 +0100 (CET) Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0047.outbound.protection.outlook.com [104.47.37.47]) by dpdk.org (Postfix) with ESMTP id 1E1147D19; Wed, 13 Dec 2017 13:54:06 +0100 (CET) Received: from BN6PR03CA0091.namprd03.prod.outlook.com (10.164.122.157) by MWHPR03MB2701.namprd03.prod.outlook.com (10.168.207.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.302.9; Wed, 13 Dec 2017 12:54:04 +0000 Received: from BN1BFFO11FD035.protection.gbl (2a01:111:f400:7c10::1:119) by BN6PR03CA0091.outlook.office365.com (2603:10b6:405:6f::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.302.9 via Frontend Transport; Wed, 13 Dec 2017 12:54:04 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; NXP1.onmicrosoft.com; dkim=none (message not signed) header.d=none;NXP1.onmicrosoft.com; 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 BN1BFFO11FD035.mail.protection.outlook.com (10.58.144.98) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.282.5 via Frontend Transport; Wed, 13 Dec 2017 12:53:57 +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 vBDCrsSh021824; Wed, 13 Dec 2017 05:54:02 -0700 From: Hemant Agrawal To: CC: , Date: Wed, 13 Dec 2017 18:22:56 +0530 Message-ID: <1513169578-28440-3-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513169578-28440-1-git-send-email-hemant.agrawal@nxp.com> References: <1509617335-6354-1-git-send-email-hemant.agrawal@nxp.com> <1513169578-28440-1-git-send-email-hemant.agrawal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131576432374003721; (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)(7966004)(39860400002)(39380400002)(376002)(346002)(2980300002)(1109001)(1110001)(339900001)(199004)(189003)(356003)(2351001)(2906002)(498600001)(50226002)(97736004)(85426001)(48376002)(51416003)(106466001)(36756003)(104016004)(8936002)(76176011)(105606002)(68736007)(5660300001)(54906003)(16586007)(81156014)(6666003)(6916009)(296002)(59450400001)(77096006)(8676002)(316002)(50466002)(47776003)(305945005)(2950100002)(86362001)(53936002)(4326008)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR03MB2701; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD035; 1:P6YDxrJ6zyFWSuKQd3x/r1Ijus78QtcajYaLO+7tzPmdh0TpPS2U0W469huAJAawNftKBFoduJLuOIU5ZM9hy25p+yv+GzVKMQHcvfuwE1yioFC29frTeR29dvL3Chfq MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1e832440-01b6-47ce-3809-08d5422892ee X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4628075)(201703131517081)(5600026)(4604075)(2017052603307); SRVR:MWHPR03MB2701; X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2701; 3:NSjVa4mLZAEzj3U+V2Y84tS/e9jzsdspopmtm5maAM1+kLzzo4+8buZtcV76HwhvQUepiTwSalqzpLVc1fGS77CtoRZUdrTwmtSrC0rvZmxQ3/AmH8TpG8TstHGMdLUYNgUzRlekY+w0KQwfMSe74+KO083uAGm25HHqdXu900jM2jVRcA9+MTOXlYGY8jFFtVS6GFAosJyXZwZYt/4GDTNUtHN4h/6Rxq703TBd1car+e/4VN5yXUIMsrnzpztYW/cHQYKbQt0aYg5ViwiN0Q2TtVQIXD8NH2LBR6/87TEtvEoytzEe6WhpFo8AneRQ2CRyg4jjYXooq2d97HoLCS40JUWIjpAZqWjkvdAbEQQ=; 25:QaSIxecyzl9LMUO1qOFfDa+isNmGH5jY7TPp6Rt0WtXKjyVIjajvBXbhMymFi6LiSkyWGh9OSItbn5YOz0YBjBckVq4ml7tRmPPWbwZ2wHEqv5TlUZjcQle6LsjRQGFLF/7rg6StP+nLP3fWxFXdcYPsTzpPZfHvqPKqSepFj1SyiHjIpfSmAIFH2HmO8aYdgRQQJ2rIowzJ+EdYBsCMrTSfDuuY2SpPPBbGgTOkNrivU1rYAMhHVwRHrt6Ymhw/fpa8LWcC26hOY/QkZfcuYMEDLA5q735zHqOzhs1Dsgk2WfjYcVwCV4cdJIZwOx/AjcvqX5wos9nz2k/ziv+YYA== X-MS-TrafficTypeDiagnostic: MWHPR03MB2701: X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2701; 31:etVK8U3lehpFo9+DeLR99yPLBf1mq1gQrmwKywqnII4waZ9/ULpulWEvWoYiYrkIqubqYkiqWfQPLTdtK+CmKKxCsD+91rbcoq96d40fX53vV+gdPc3oiAD/nuo9dA+5RcNl1835M3vKI4Od4oR3bKi7aGr8guqgxyBb+szDllH5BUQITM/jJha6g/k1lSP1PrPaRiYI2zOtTt+VSNMwRwC6ClX8C9dgpejjZIdJS5A=; 4:Op+3LDSyWG/Xhn73RPZWVq0djPE3MpYzTcf/EA0AAlFZoy2kmDtyizztW4NmnvB+K6Fp45Gp1dIsfg2at2aImiUg5Djkgq62jgywGkzw3Y1fdULCUKlbdiowPqkd66pGPaTylMVv96k058PUo4dz3KwpOH7KHy2TSl0PcRlCNne3AU2hEqPOvyMvBjIZVOXHKmL4S9K+N8IQbp6gZVAMeLV1tDXye3p2bD8x5nVTde7EXMK5wYAcSqYIrTNV7wbplSV7nQkXjJy4EiHAlSy7vJziFhJD+F0xZUoDn7UKzoclKsgLluta/XcDk6XoNAHp X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231023)(3002001)(10201501046)(6055026)(6096035)(20161123559100)(20161123561025)(20161123563025)(201703131430075)(201703131520075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123565025)(20161123556025)(201708071742011); SRVR:MWHPR03MB2701; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:MWHPR03MB2701; X-Forefront-PRVS: 052017CAF1 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR03MB2701; 23:/TLO2qv3DFGqR6190my7usEEz6os0b5/zKxe08ckS?= D+yoAo6YPc0zrE67MxSn92c7jnI4bu4F9S9894m7e+aUT8l3Ci/YKWrWrmtpLKX8+aqB8gNlCZaX4X9ZqZMXUyTqi7ftAXzgGrQE/AwQqAhwNcdjwgj304aoh8Qs0r/j+WcPQMYsK9fKzdxvDsh7/7Ex8H8fQGKX07DWkTVvhm+zV2PccwyGLFufA+/9yCNu5ECf8O8tIkBgXBI4iCsV3ZjMCNVgjV6Jeo94OuJ+L9zKoI4A42t+Z1LhtofC3lWoSOzvFu0vh510rpCLkjKW6Og0+Xdou/Vidc9QPlJ0/TAcCHNy7huRBTK8wK4H7KXzHK5M5hvR11xGzdPNLq3YtaT9go7kTgeI5ROioWEJHKHUxJz+DagnfxrwkdI0RjyX1MDdN1UMPB4NLQemrDIY1yWqVy6AgPSWhxDGXSqkWL1AgEFOjCIXibHkiV/tllHaSJNcoRr5zp7wCkdjUXb12p6qgMUnYM/cB2RrLOIfw2vyydzKY29xq/k42iAowzpk/qOmiUXtErlLRlRTDXol1s5csdFGEOZbZnMBPvNMuuqX+iN6FLRkJvT1lXTQGxKVzoNqGBZ1B8v0qCnIDU6oCtjveSS43ZSjGJQ/IClsmnyenqkhH37qoS+34/J53/cLbuB6Al78KljaDbsBP2KOp/+MVqAt3hGO6vLpxGzGt7tb6wCI0BUh3aRmRWxyZhdugiDlTR9M064v6gJ83lch/mrpjl0+D24AV6cjb3xWqthrjQrYOMqwUtKuhEFSJ2tB99GWSYVMlpGHE/t5V2MQy6C78qaTuErnx/zyCMjGxdQopoLZe6J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m5X/UdMHKnIh+O+MlACPbOpsO/uy1Aopo+WSFtTBwXeyVFcY09VTDCZ5gjXz05OeC87pMBXXwvH67Rsj4DKFGXL3D81+laG6+g2WiyfQgG9pxzCtDZ/Oi2DrlhvsMKrgmt7Z57njhPU1HwniPITMadMjAJkphogE9pIY+7RhXO/ SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Dec 2017 12:53:57.2287 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1e832440-01b6-47ce-3809-08d5422892ee 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: MWHPR03MB2701 Subject: [dpdk-dev] [PATCH v2 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 --- drivers/bus/dpaa/include/fsl_qman.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.7.4 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)