From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0042.outbound.protection.outlook.com [104.47.41.42]) by dpdk.org (Postfix) with ESMTP id D86241B3A7 for ; Thu, 2 Nov 2017 11:09:48 +0100 (CET) Received: from BN6PR03CA0018.namprd03.prod.outlook.com (10.168.230.156) by CO2PR03MB2357.namprd03.prod.outlook.com (10.166.93.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.197.13; Thu, 2 Nov 2017 10:09:46 +0000 Received: from BN1AFFO11FD045.protection.gbl (2a01:111:f400:7c10::147) by BN6PR03CA0018.outlook.office365.com (2603:10b6:404:23::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.178.6 via Frontend Transport; Thu, 2 Nov 2017 10:09:46 +0000 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 BN1AFFO11FD045.mail.protection.outlook.com (10.58.53.60) 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: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 vA2A9bnS031572; Thu, 2 Nov 2017 03:09:44 -0700 From: Hemant Agrawal To: CC: Date: Thu, 2 Nov 2017 15:38:53 +0530 Message-ID: <1509617335-6354-3-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> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131540909865755333; (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)(7966004)(336005)(39860400002)(39380400002)(346002)(376002)(2980300002)(1109001)(1110001)(339900001)(3190300001)(199003)(189002)(50226002)(16586007)(316002)(8676002)(86362001)(81166006)(81156014)(104016004)(2351001)(189998001)(105606002)(50466002)(106466001)(33646002)(76176999)(50986999)(97736004)(48376002)(2906002)(53936002)(305945005)(6916009)(2950100002)(68736007)(5660300001)(5003940100001)(356003)(36756003)(498600001)(77096006)(47776003)(6666003)(4326008)(8936002); DIR:OUT; SFP:1101; SCL:1; SRVR:CO2PR03MB2357; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD045; 1:hFcm4PVDDyot6jNqfIRvUSmp8i38BmEfVmsQBUFEhQpJMptYjy63BQ0AkGKSgGUNeLvhsYIKvnJImRKbL2itN9cz8Be2PeaBmV5IxUCTdSXsMFF5NBuYcr6rzOPGYWxM MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ec57ee55-ebf2-4ded-8166-08d521d9d86f X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4628075)(201703131517081)(2017052603238); SRVR:CO2PR03MB2357; X-Microsoft-Exchange-Diagnostics: 1; CO2PR03MB2357; 3:QqBzzzk8FXQOyWTl91HpYzFs32clsU/DDUSFbz/jscv8sQCe4d4+SSyTD6UZ+Duw8wZ0EtpTYLpZSMihhEdFtW4Z5h0dJ3o6tidDatRmAa7kAf6ha1ByJG0ttdv2169QJgeZ5vI1F6HK/k4cKaIR+C08AiOLGQJ2FEmnlTsB+ZcwpdMQBmLmD4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ZjeJhvn4STbNB7crK61oZp+paZIE76LEPH8W+7nonTRO/Lo8wVSwBaqr66Y2W4KN4EXwTUE 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)(5005006)(8121501046)(3231020)(100000703101)(100105400095)(10201501046)(93006095)(93001095)(3002001)(6055026)(6096035)(20161123559100)(20161123565025)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123556025)(20161123561025)(20161123563025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CO2PR03MB2357; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CO2PR03MB2357; X-Forefront-PRVS: 047999FF16 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CO2PR03MB2357; 23:f1q6YsP+pvwOsqeD1JLAWN6xxVas8V7+tyTOqJDa9?= =?us-ascii?Q?vzLbDTbdrVTOaTwE44/UU7PMVctD0DlH16pxr4QI9RSiTLCKlslaJ5a3fy6E?= =?us-ascii?Q?1NGR8W2tJ1caqIOJ9Ns554vctrhEhaCp4WSYTFeOqLbqV82cX/fNMoIqMXaI?= =?us-ascii?Q?MlEpGReNbMCnJSRBCyn04JouhtvEwcN3oMyJaNzuWPH5nMK0KMUanvgcb8ub?= =?us-ascii?Q?BBIGq5LTc+5Roxp6CYJOwjPUi1nNZqOrkeOC6Zfk7jwQ6U/dg7Iba623qUjC?= =?us-ascii?Q?/Xy6YeWtSGTXWSo876/msk39VejwXN7qMxBpqNJNrkyaihbJbKPeLsMmJrBL?= =?us-ascii?Q?wozUgrxz6M8QMYuo4jtUJfQlAEnv8qOXXwbvgc19Vr+uqJIyUWCntliA2I/S?= =?us-ascii?Q?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ycRP4J61dojXuCCEYEqd/i71gROT3AbkAretIbvweGt7uVR4KdsKX9zdZF2WlRKwnTka/NZ/3BCixGIS++QvEaDi4ic64B96IYzH53dGOq5HmIzJ0vrIUW/pWmQL8yzQcqqabYeruEDKTTEhzD+XT5t6NER8dcaKv8jub+j0s/2ohUbZk3qw5pc49b1iq+FNP4JWQdlJeXP6ocQEiz5qUF2C7LHlmXVdyODmh9JpzUi8dmO55gN9hQ8M=; 5:xzpYqKLSSDsmH3RrH5KdvPwkRk7KGRUVPWFyZh3ysd95QotvwsPdFSL3aYt2WWduaHknctOza/guODOPTLnQP00FcJbQZpqucAZljGCTgCnSqDV3Tp8E/Nma7oHmkivNXSsDFtrRHnMcE/UVXj76yWv/j1nnIm8ij2XY/8yjSN0=; 24:Y2pRUHqyb801o0mS1mP4Kzo+q6byTJkIuCx9zEWZ2gkBC60ac5JOPcGnQMPj1vG+6KoBroSUYDWBDl706V7jhlydOkQzBUFeiMFyxk/YALU=; 7:UsxE8e+KLBo8S7obLtu87SvjO/mkpfI+3VE67x6hfjiKiL2Yam+ePKB4akaHkvqztKfDEVtGLeBE9Jj2ZZI1MKbyIZAY2awRqjdpokJf7MnsbWQ4SPGQhZuS/SAlI2ASHHLIL2XLffaVSi/cVExJ2ilAXWiv0ac1vqhswR6wOYA/QjJXe0Y1E53jZF93Y6oHz8okwMc3XghOT/LvoRQcQO/d2Qp9ZnpyWmSD2LsyPez2l0uk5+WyEh0o2Vw9542A SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Nov 2017 10:09:46.3883 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ec57ee55-ebf2-4ded-8166-08d521d9d86f 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: CO2PR03MB2357 Subject: [dpdk-dev] [PATCH 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: Thu, 02 Nov 2017 10:09:49 -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") 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