From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 To: CC: , , , 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/QUfcYHDCFNH5jEoDuMVQKAPCIuSH8Qo1iZ5leXtaTF6uommns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5EErbGawrDYL5egyI21C33yZBerEwF0q6Z0AMTxUKrVabCHAugYRfzao/SUdHGH99uJ3OpyILmTt8O+cH/Z5lVVNayGU3WFpBLTYWUi8Q+Pqb0lrBU2tu+uF3jSZ30GTQXKhGqTqX5S6dCvb3HzBvWVyFJC8A9Q0E8IhkKpKXq5QKgY87cgkqJF4CvYgrER X-Microsoft-Antispam-PRVS: 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/?= =?us-ascii?Q?7jvhjRHl7MiR25kJsqzW8N5p4SHMQJVEWWzLQLA8euGBrTnE32Sbz/KhLnyp?= =?us-ascii?Q?NnCAS3CeaU5isbHkbnVLiH5WbHMNA6ZseMuSBF8L3I1lxhobW/To1B0HEcM1?= =?us-ascii?Q?0I0aOxcanQtHEXtqH81tGqXue8ovCwzqLK925fpyoq0+jAl6U3T4y/iB1UZa?= =?us-ascii?Q?HbIuXZVZKhpmQjBn7onf5qWrKd3gk6cIRiPOweWWRy21jNp79gMFZRooVUWi?= =?us-ascii?Q?yHLN48RfFNd5fuIi7qvIxcJ1QTzuGPRvceCYjKYXLNtHg2P9LWWK1ZVlqRtF?= =?us-ascii?Q?5U8UjN12kuWDSgdV+deSJBg3yH2tVHH6NVCaZpOWe8E0ICM0FJW/nvGh52FM?= =?us-ascii?Q?lVTM5er7U7R8NqITUM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GHPctBMVZrp7t3k+eNKzwz2JVAQ8hvSh6BK4iLhfen4kk1eOS5FTiSltvCeHGuoCB4FXhu3zeBRP+UDTwRZ/zmyDBkPhRlFlH1R3CfjPh/onRRYOQFLQfABLen4S8ISJqSZjazgwNikVQmzXZwxbr6Nhf0iZxRGrEp9ZokEs8If6/ueodLI18/jdxRpr45/o=; 5:0PpaQHZAhg9MqC/1VljoHA35xxowj5UlELfs2rX9TPfFNEaHZRxLQ0+NFTn2rVcm5SGdai+wzBIftm17XW+5XzV139/8oU7dWnlNBvhls/IsWG+betneajMkhA7wZl3xVDAL4BTIB8TsfZkDmr6diTfvV+cTcdAzAymPkzFbxWA=; 24:nIWbf4l8gwLaA+1gdk/jkOBnBWSWMJzGj2RPmYgIuLTQ8SdUPAduen0ZomeEO8HmxAPX1yPv1hr5DpFKRjqRi2rpRkNRLbOld7LhIa4CF2g=; 7:TXUgsxEt367KZhSbTtsCWs7Cdo+/HGmOjU1xmFuXelsl08DonyXG2SmscgOCOBaF/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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Dec 2017 07:57:59 -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