From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 Content-Type: text/plain 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+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CUKlbdiowPqkd66pGPaTylMVv96k058PUo4dz3KwpOH7KHy2TSl0PcRlCNne3AU2hEqPOvyMvBjIZVOXHKmL4S9K+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?= =?us-ascii?Q?D+yoAo6YPc0zrE67MxSn92c7jnI4bu4F9S9894m7e+aUT8l3Ci/YKWrWrmtp?= =?us-ascii?Q?LKX8+aqB8gNlCZaX4X9ZqZMXUyTqi7ftAXzgGrQE/AwQqAhwNcdjwgj304ao?= =?us-ascii?Q?h8Qs0r/j+WcPQMYsK9fKzdxvDsh7/7Ex8H8fQGKX07DWkTVvhm+zV2PccwyG?= =?us-ascii?Q?LFufA+/9yCNu5ECf8O8tIkBgXBI4iCsV3ZjMCNVgjV6Jeo94OuJ+L9zKoI4A?= =?us-ascii?Q?42t+Z1LhtofC3lWoSOzvFu0vh510rpCLkjKW6Og0+Xdou/Vidc9QPlJ0/TAc?= =?us-ascii?Q?CHNy7huRBTK8wK4H7KXzHK5M5hvR11xGzdPNLq3YtaT9go7kTgeI5ROioWEJ?= =?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Y6hX3ktGG+QKAs428Yrf6gF/uBNbxkjnkp12uwq4vaMhWoD9CoI6Pn54LC4U0FDWlS9w7dpVqw3Lnzgj5ISJMSRmxLKUVmAMHA7Eh6HGY8d/TYTUEfeD57h6JcVV0h8gsaEjMQHYjTPafzVVTZjDIs/edTw/bMIsI4N2Ov9Qx9tiaKxQkbZYf+jtJ/J4qi7S6Om2xGXG+2zuloruXHu/PITV7/VQnlS9xjWbAjxUDnPrBQ=; 5:CQe1sx7Oz5oZ2RPerbUCmY3lqvAD87lTBiIhMgJRjCJ1G4tW9tRJrMgjGIJvi45K6KkXxPVnkiHmUCBobSQ3I7HPwvOIlqhnoIGQHazI5ojAG507sztDKXxYHccOWQ3lnQW67Mz0+ePjgnHGSNNPiEMbDYm9zV/Aw4ZsnTwtSKE=; 24:5q1b6e9PhCYttvurvs5f7901UBCvqbr7qJjpI6bWwOOUvMrg2/OcRF5hVbOsOwHhGKDS7IT2CStV470SfCahxK0OIlqVYC/sCjQdLeX+bMI=; 7:bO/ad52PM9pg8lVEUenWzx+TrWrcFHX3LS0W6vlA2Z0jpy/QRvJAvSVXLI/Q8dB/attEw3aEX1FM5b/3H1a4Rm5X/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: , X-List-Received-Date: Wed, 13 Dec 2017 12:54:07 -0000 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(-) 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) -- 2.7.4