Message ID | 1509617335-6354-3-git-send-email-hemant.agrawal@nxp.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp1964593qgn; Thu, 2 Nov 2017 03:10:10 -0700 (PDT) X-Google-Smtp-Source: ABhQp+TRtHSqJkDdO1FLQ75Z3X+oow6qFa/eX/aYwardUJ9kzgerfdg2R5OUqVYMSY3yBrrtBhCy X-Received: by 10.223.201.8 with SMTP id m8mr1407400wrh.260.1509617409879; Thu, 02 Nov 2017 03:10:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509617409; cv=none; d=google.com; s=arc-20160816; b=iGZfn7Bew39/ZHNYMm9ndNxoGPIhTHYB9MXCePhDgPgW0uZX3SIkDTAH+8tvquQl50 bkJzCKzM9Q+mMuza+4/ZMaiRhVRepJYC2NPgUrNldovfmrEIm26B3funHy9FlIpNI6VI /nI4SeRUCjyf7lcqCCKHqP/mkrQFIs1uK4hJEwiwefCAtx2z+C5m1aIPRyZn4XHz7wK8 0/mMkf0y7pUJjs9t8h+j5aAACH2ZA9SqlmG068q8DFYBjdQm6F8g4vW/LiwZ2HlxQYxq Ty7E83jpwprub9fnyN1d1ZuBQK3OQ5AG2YjNYJWSy2uhDBlCIQeprZyG9Lm8eDlo93m4 tNww== 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=GUhIfZQXc0+musYn0uWri4AGAOdP4/9vMDlma2/mj5U=; b=Ckb8Ov1J+ihU+/KLQ1dR72vH+KTGocsjwQupCowEninDX1zgw/6rBP/CXNIdlY6eGk inqKKlILu6uzeZrpvm6Ovf6UKyNh08GJDGKqBUbcKSF49YMilRZb8DwKrCPwJbKsboG7 kuAeDlIE89wT6/gznALAKxeFjAHsQ/j0PkAqomFaShzp7BNasvdPZEltawOn7uauoRvH kMaFZ+eYE/9At2/Or/A1xhW2O3q+d924BKv9raXNNgC191Y2YoAfdeLF40L00r8tWdn2 bCJoGsqa1EW3pd1BggbxpucwgeC5i5prlVPrf1ElucXyHN4tEeRelIQsbAYdcbjL1No7 fAhQ== 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 r20si2608860wmb.17.2017.11.02.03.10.09; Thu, 02 Nov 2017 03:10:09 -0700 (PDT) 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 EFE4A1B3D2; Thu, 2 Nov 2017 11:09:51 +0100 (CET) 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 <dev@dpdk.org>; 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 <hemant.agrawal@nxp.com> To: <dev@dpdk.org> CC: <ferruh.yigit@intel.com> 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+ZcwpdMQBmLmD4Ry3yZRajo3oJYKjqAXWGBsL4oohZLTuprIOb3SaIoXL7YK7TxOuBt12/cWmnv6pIWONFZoMhNQneWy1I1uLbxZBkkQtWeHm211IAPc7vmG7BnGLVnBOwtVWRr8SM9LbKzKqZqjb/hSU/MXIkDetprB/9R/7pI8psk8o2VneCK4UX3HootRyfY=; 25:BW6uZPF04ptGfZrhIIY4w9sMQnRkM9x6w7ONCWRVXqW9k4Nv3vdcpmMGSPlpHVjZ2XZ1eQqCM21ZRc0HoK5N9bYcEZiEOC/4mXxG7yuYA0fjHN3D6nEiIqVrU+WJjcjKO2kuXjeV0IOdaOELv8OV3oX593fmx+py/4rAM6ftTkpuhUnCOg7+lGBKty+YfMH1SfJY2TENbbm8tbX9gMAJ+y79VhjREDISvphNzm1cxT/XKygSdi5BEW5AKC6E8PJjXew4pJsbdUFXSqlwoCgEWFZEpOCAQUvpWIIwFwFRG/JTB3qzzsH2NpziHHvUcU+fF9EdyV633ofUCTHTGszM5A== X-MS-TrafficTypeDiagnostic: CO2PR03MB2357: X-Microsoft-Exchange-Diagnostics: 1; CO2PR03MB2357; 31:0l/5K7ezwZyIMDsVIr2bxlaE0Tmz8gwH0CTyiP6z5f2Yoj3hq/prep8OQ8eJuso1rLkOdRelqVL8RQegFRy+xolcKOgSegQKUPLGb1LFT5bP188naGvRfFC2rinR2caS+n2i/sd3L0xfUWJJ0Ii2atTtvWhBPffoaQ6kd0BDsyoNKONtpyYPvqSih4vkh068NEsYgnRXr1vbsN46PscVHQTgTgCeCEGuPoYAaeVm1wo=; 4:4mjR6MRZGjX8YzGeNfIqM/OsWp48Zu/3ug6JxMNd2GpHwdYrMR2G583kGnqQCj3iLd6dAQJL9x6XbdsRxyGZa8j27HT2lv3xa9usjD4s61maHhjx1bx2HPVbiVaASKIi9tlRqGB1SFKQzwTtYNlW6cGeQWZfjDE7OB92drfeqmuGw9L7c8XfHzLcHBkWNFixVlXWTz7FMznEUu/h00SK6EESBFuWlcsi209rB595TdZzzGyccJubsr3XzZjeJhvn4STbNB7crK61oZp+paZIE76LEPH8W+7nonTRO/Lo8wVSwBaqr66Y2W4KN4EXwTUE X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Microsoft-Antispam-PRVS: <CO2PR03MB235739EBB70CF1DEFAE367F0895C0@CO2PR03MB2357.namprd03.prod.outlook.com> 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?= vzLbDTbdrVTOaTwE44/UU7PMVctD0DlH16pxr4QI9RSiTLCKlslaJ5a3fy6E1NGR8W2tJ1caqIOJ9Ns554vctrhEhaCp4WSYTFeOqLbqV82cX/fNMoIqMXaIMlEpGReNbMCnJSRBCyn04JouhtvEwcN3oMyJaNzuWPH5nMK0KMUanvgcb8ubBBIGq5LTc+5Roxp6CYJOwjPUi1nNZqOrkeOC6Zfk7jwQ6U/dg7Iba623qUjC/Xy6YeWtSGTXWSo876/msk39VejwXN7qMxBpqNJNrkyaihbJbKPeLsMmJrBLwozUgrxz6M8QMYuo4jtUJfQlAEnv8qOXXwbvgc19Vr+uqJIyUWCntliA2I/S4wyZWXfU6jiAzt48UsUOVQULzexpPOtvOwHZosoUr6Pu3W5VCqUmqyGRwDNeXGLMmB1SDvwXPRobz5VUI39zZ1nEQJcr6rSJ59ha3isXh/KvZDnOtbvcr9LaC1/pT7igXgSnRneJN6LlYVoweZ3iHPZyT0F42Qq6vDrTNcZtIEK7sAu06/RI6/X9FrswmEPb1P4w3WWJBtPrpEPOvxwcNLZ4glf1FsCkUzYnDB8M1WA+Skgspp13h4fFFBEx8m9SUG94XeQ7oPXB0K7Uoz7N5473ktpnUuq4walxp/Te8QNJ5jseqKJIX+9E7PAs5MyevVnuYvJzQ89rjWRD2/O5jURbMfz//epnrrh0DI+curKWHcGYXuPv/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8S7obLtu87SvjO/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 <dev.dpdk.org> List-Unsubscribe: <http://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: <http://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 |
[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") 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