From patchwork Tue Jan 30 09:23:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 126215 Delivered-To: patch@linaro.org Received: by 10.46.84.92 with SMTP id y28csp3188517ljd; Tue, 30 Jan 2018 01:25:04 -0800 (PST) X-Google-Smtp-Source: AH8x226CdmRU41StvS7BwXvnDEEe7q6As5PpwEQm5t2NUGWsZPfbye58DDMTWBX6eq+2h0DobDAX X-Received: by 10.223.176.98 with SMTP id g31mr13415278wra.178.1517304304153; Tue, 30 Jan 2018 01:25:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517304304; cv=none; d=google.com; s=arc-20160816; b=RY8rsjCyD8GHel1p/JhNcM4d9X44PKuSNel9o9cPrbRrdLv8yo6dAFj7hJ7jx+WcID 26xUFOhY/t9sZsoXQpKfG+mOBtBtryHuT+SOsHPNjOE5FKcyjVciZ1kEYvAOA3OQ80TL dJCpEwOOE3Fd2hBBbZSKeOx+eSxObe/UK57dvgTfq4VWjXxc5EwWVfBUSt/ruzYbceOq E5pyshrn8YXbWL55x+PN1Mau+/SuYRRbZ50wO9qzIDBM2GKloX/9LOvinefKEok0bYzr I4KRzKyo9XPRdmX34psubiZAKePz+ajkPSz7oGjfKblMJFwpUmYfvq9UX5gMTYQdR7/H l6hg== 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:content-transfer-encoding:mime-version :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=GnTlvmlC3SmkcwcmQE3LbvCdbAyBKBz9qnoSPm6evAM=; b=f1xS+rLysa1AhpvjsdkGSoP35dWlc+7JSuBAfFLGtsdS1m5hV8WsSMDXWhiovsY0O6 8ANFy/UYrTe+dcmi9uhElz8yM//UVM7BDHRV4Auqu0M2izwc71L9V61n/Gz4A2nN45k6 YyXNwu+2BAlu5z0+weUOAYSfNlAH7zP26Eqm1evXA+/ZMAlUmlsos+0eJP9J3yXIHMMb rF0levyR257IX8C4ENknuAFccHR02K5Uq3FO/8CBi2rTuXpTr8ogZ3CfrH+zU5qaMR+x QeyFo7B4YUGXzFAEL7xnax+lmzsWtjjrwKf/HGs3GeutMyLVPDVCNYniICtYkfEXS7Gt J0uQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b=nIICGDrm; 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 b13si12086707wrh.427.2018.01.30.01.25.03; Tue, 30 Jan 2018 01:25:04 -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; dkim=fail header.i=@nxp.com header.s=selector1 header.b=nIICGDrm; 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 D539D1B409; Tue, 30 Jan 2018 10:25:03 +0100 (CET) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0076.outbound.protection.outlook.com [104.47.2.76]) by dpdk.org (Postfix) with ESMTP id 5B9061B2FE for ; Tue, 30 Jan 2018 10:25:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=GnTlvmlC3SmkcwcmQE3LbvCdbAyBKBz9qnoSPm6evAM=; b=nIICGDrm5wU76Uxs5mT8c/uiYLNiDGNQchKro7MPOLE2vO3pKfpB0u4Nq7cjng42BCU7AWMSsVIiJ+b84d9uiGbcjyLy5VuCKaRI1zQTmCojaU9HAtvzfqo6DgjRLG/MiFhOzr0FaiITaaPidi+YlGPxeXjydwTKniR9oGPPmBE= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; Received: from bf-netperf1.ap.freescale.net (192.88.169.1) by AM2PR04MB0753.eurprd04.prod.outlook.com (2a01:111:e400:8411::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.444.14; Tue, 30 Jan 2018 09:24:59 +0000 From: Hemant Agrawal To: dev@dpdk.org, thomas@monjalon.net Date: Tue, 30 Jan 2018 14:53:30 +0530 Message-Id: <1517304210-15061-1-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [192.88.169.1] X-ClientProxiedBy: SG2PR01CA0100.apcprd01.prod.exchangelabs.com (2603:1096:3:15::26) To AM2PR04MB0753.eurprd04.prod.outlook.com (2a01:111:e400:8411::13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: d8b55359-0ff5-4df1-1201-08d567c356c6 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:AM2PR04MB0753; X-Microsoft-Exchange-Diagnostics: 1; AM2PR04MB0753; 3:dSNf3Ny9NOcm0bNl4iWjszyeiXj2EX6by3c2kDOPzcYMUot7hJ9EkyyMbEkY0uBD2QRmMeQK0HuaGpLQtQSjzBYA40mWmMk1U0vGT3rZXplch5puu3MLB/UJOGgriEFpe8CGhNEbAOzilRMzfYtY9lG/FvDBR1zdyQ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na7H8VoA1VTTjIrA3yimBBkldqWip2nia5P/wCXeGniQRHN/UQ5wSa1tcSGiw2jDQYJngBLeKQN7AFpHMgBmxAiJEWfSOHTaABbs+olzIwYZagKcAtsNf90puCSJfEySyegQTcUulxejrplLFRnS/JV50LP47iK8Vj2/JZjRFVUbLBP+i; 4:14m0gJ4L0Zg2U1FxJYr481MHZvHGSjuYWDvcfzPntPOyL97IGx31iWnGiQQqoE2v6UkBCOFmig3Oh/LJuC2iDoTNgysT1z13Ttmu2FSONbHQ7fH18eHhAP0MamFOuII3XLJuAku6KsFqUNlNtPeDL2THrZe6g6/rS+tGm5gIRaMQ/IbXu0/9+CXdEgjQkGsWuhxh+ym+xrbpHzCrBlsNGco9a5oL7sJxFZygDnbZiJ7uHMWVOa/3dpRP1tf5TF9bPACoZ9QKhfGVvxBsv4k6CE2d6CQs0U5YdWFZEoV00OfKqorfu4d/mWdkwdH9oE5F X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(5005006)(8121501046)(10201501046)(93006095)(93001095)(3002001)(3231101)(944501161)(6055026)(6041288)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123564045)(6072148)(201708071742011); SRVR:AM2PR04MB0753; BCL:0; PCL:0; RULEID:; SRVR:AM2PR04MB0753; X-Forefront-PRVS: 0568F32D91 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(346002)(396003)(39380400002)(376002)(39860400002)(199004)(189003)(50226002)(8936002)(8676002)(6666003)(23676004)(2870700001)(5660300001)(106356001)(478600001)(105586002)(81166006)(81156014)(36756003)(2906002)(25786009)(6486002)(66066001)(53936002)(26005)(47776003)(6512007)(52116002)(50466002)(186003)(68736007)(97736004)(7736002)(3846002)(305945005)(316002)(16526019)(386003)(6506007)(6116002)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM2PR04MB0753; H:bf-netperf1.ap.freescale.net; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?q?1=3BAM2PR04MB0753=3B23=3AAR+b?= =?utf-8?q?uNp8aZFevS+SAQwIAptEHY8ciXuD+1ybWayghhQnKfTVaADfvnJkyvVm?= =?utf-8?q?osq1aKDbCBfgsgRUioOKQwImK5G9XyATd4Hv38naI8UlFBpA5j9ou+OZ?= =?utf-8?q?qjLGS0Ul222hoIvISig5fg4xoyQidio2XJYbLs2cErjkC0vUFsHPjZNE?= =?utf-8?q?2A3mShZnTk6KYat5CX0ej/gUmMmNJtShyIZqizYe/WtWnLCycN1lzlR1?= =?utf-8?q?mFjsUK+g5HjNS19hQc2UY6soVCh6dvSvsF4bTgWB/yRjsf94aNXm/ouP?= =?utf-8?q?+ZHRmnC4q/X9K7wQFBl/7L56w9JM1bYN3XbIWM1QgHt1Fe+4Vd7d88zI?= =?utf-8?q?20+kGk13d4BUEZKzmyc8OGQHtv9cNV6eJDR14+TnqXQHrJ+gHNGOJvt2?= =?utf-8?q?JBd45nfyOMnCOE68IpAbU5fkNQ1wH7K6Nt0Wh67HX4A64fpB6bHBpoYV?= =?utf-8?q?Wko58h5Z+xcDaL73QX4OHV/Q8zKAbpt/tF+256ZjIHFDpvRx3ijxzfG7?= =?utf-8?q?draGXqao95RxTmDGKTw58/bVRhQi10+tyiYtE0VL7JsqLdmYrN2PFe7c?= =?utf-8?q?AocAb4j5iLKeE8UFk8F4EmVYir7wqLlcdIs2kr+ErRGQW3ARydPC6D9k?= =?utf-8?q?tGDJpXkHaIRR/AP0BCZIpVX/caN822cr/oRm4D3xqt9P1VYPzv6sXSu6?= =?utf-8?q?fj27VUTLwtUWuRbAKTnH1+L9Nx2uZfWsbQiPTZ7mlREOCldqqOFah/08?= =?utf-8?q?Ssje8lEX6zw6LG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WPrAKsmhwMsvh9TtdKfdGQfDTzanovhlKscpbXC9t5smAF2bp99wZ609qMbHJ1D56V2WBRx91bySNTGKYn1DDOada6RfAmP686yNfVIc/mIWnmnMxHUKXGLkJFihwhEeZYDzgCmf60VKFVU44TAkC8VeUyDgvWcbl19G1kqMx7svQCJAF7wH6Jlx8D6lJ0 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jan 2018 09:24:59.7866 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d8b55359-0ff5-4df1-1201-08d567c356c6 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR04MB0753 Subject: [dpdk-dev] [PATCH] crypto/dpaa2_sec: fix build with GCC 6 or prior 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" This patch fixes the compilation with compiler GCC < 7 dpaa2_sec/hw/rta/operation_cmd.h:12:32: error: unknown option after ‘#pragma GCC diagnostic’ kind [-Werror=pragmas] #pragma GCC diagnostic ignored "-Wimplicit-fallthrough" Fixes: 2ab9a9483196 ("crypto/dpaa2_sec: fix build with GCC 7") Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa2_sec/hw/rta/operation_cmd.h | 2 ++ 1 file changed, 2 insertions(+) -- 2.7.4 diff --git a/drivers/crypto/dpaa2_sec/hw/rta/operation_cmd.h b/drivers/crypto/dpaa2_sec/hw/rta/operation_cmd.h index c4febcb..90ce39f 100644 --- a/drivers/crypto/dpaa2_sec/hw/rta/operation_cmd.h +++ b/drivers/crypto/dpaa2_sec/hw/rta/operation_cmd.h @@ -8,7 +8,9 @@ #ifndef __RTA_OPERATION_CMD_H__ #define __RTA_OPERATION_CMD_H__ +#if defined(RTE_TOOLCHAIN_GCC) && (GCC_VERSION > 70000) #pragma GCC diagnostic ignored "-Wimplicit-fallthrough" +#endif extern enum rta_sec_era rta_sec_era;