From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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/FvDBR1zdyQVPYfAjNYPYXGem1nWdS4koxcaNwSvPHE+FV2aLP+h27qWxceEG7elzwQMSWq1V3cVxcVkOdZP33NPcGliIjxYRm7ytm2X8; 25:CGPhIgdaH+vCHmQSHGLpJkWYOJ0GXlh/4nu6+z/5LKdPLRpNTcVir2w87nHqxujE2Op05Z56+K1Oj2Y3Nryz7b4kZ6m+Q43RDuiJzsluKJVp3MmO2YrJe0KBqeo6vEpFfafN7W7RS9JRJOoH6LRqkv8jl+sp1SWuPcQTvCNeh+PY3pqYB485Afpz1dKm6skwAindcz/9NGX1dWFO9HLhIevshFghImhS2oDjpYJoedByMdbIXml3vFnMcKCXcpNaK7laQVegPq038lltDTvnPuBDuv7lOc6VpLiDJNxc+Hsol+EA7wjG9VkM3ywg09aeCbR3s4KKoonyJIczc7Aofg==; 31:O1Ij5U2qj/Nv/O8Ag38UQ44lUF7asQmOmihA8TRWdpBrUdhaHecnD+C5XJ0Z577if+Rp0+ynr+yU1dyEk8uwf2K8V9AQOrblipzU0ls010GWK6j4buv0ARmhD7olm86BAXYXjZlhglWHkaevfUzPFlW1/eDBg3vUtodO+PXKYu4qatYrih4IweTEMzAhaKSptqheOb24f1BPDtjjnY1IyM59EprDiFwWTudpcgqxvhE= X-MS-TrafficTypeDiagnostic: AM2PR04MB0753: X-Microsoft-Exchange-Diagnostics: 1; AM2PR04MB0753; 20:fR1hKX4wHxFvlfyZxLgEy8VkrYUlpx+QwHdnhpDZndtHNtSJxUlNSZ0P1SNr3mg4D0K1Op/cZRGdJ0X/W4MwAXX+CF8NKppd0Ji+TYr5s76hrnWkLNmUBYCbkfpcC0HLJxL2iT9ODUyeneaZHlmEKbDuQNLk3lolQ9n88yyI5bZ/AYD9vqVInMwercNFsqoXRuHEdDEfdu0u86neCz+8GJmUjxyCpAPyNZYjNHVfQ17aBDZl0YCksQPu6pk4wdlrpLbJyp2PhG/hHt0JdVinjUwUgPT7jlSiNmahAjUrF39qjYxXYfpWRUJuZaxaBf+kNdvUX7GfIxDkx8cna7H8VoA1VTTjIrA3yimBBkldqWip2nia5P/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?B?MTtBTTJQUjA0TUIwNzUzOzIzOkFSK2J1TnA4YVpGZXZTK1NBUXdJQXB0RUhZ?= =?utf-8?B?OGNpWHVEKzF5YldheWdoaFFuS2ZUVmFBRGZ2bkpreXZWbW9zcTFhS0RiQ0Jm?= =?utf-8?B?Z3NnUlVpb09LUXdJbUs1RzlYeUFUZDRIdjM4bmFJOFVsRkJwQTVqOW91K09a?= =?utf-8?B?cWpMR1MwVWwyMjJob0l2SVNpZzVmZzR4b3lRaWRpbzJYSlliTHMyY0VyamtD?= =?utf-8?B?MHZVRnNIUGpaTkUyQTNtU2hablRrNktZYXQ1Q1gwZWovZ1VtTW1OSnRTaHlJ?= =?utf-8?B?WnFpelllL1d0V25MQ3ljTjFsemxSMW1GanNVSytnNUhqTlMxOWhRYzJVWTZz?= =?utf-8?B?b1ZDaDZkdlN2c0Y0YlRnV0IveVJqc2Y5NGFOWG0vb3VQK1pIUm1uQzRxL1g5?= =?utf-8?B?Szd3UUZCbC83TDU2dzlKTTFiWU4zWGJJV00xUWdIdDFGZSs0VmQ3ZDg4ekky?= =?utf-8?B?MCtrR2sxM2Q0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PR04MB0753; 6:NC7X2Y709UzJizhq2wwClU1xxterAtaX14IpSYz7D0DImCIMX4P2tiJ5YEZw29qEq8Ov6/vgYFQWZ57foga5WZeSJFGHvJvHbbzt/ZD0DZk/zmZsgoLA+Tp5viMVmjO+T8nnaMwD3l3i55TtTIFt1CMiFweSXoDsB9hIzx9/vlsehCADC2h9PyR2/IB2Q1D6lUsx9NI9V/pMaiZi3ibjVW6Jip/MVZw47nDz6KTQJQTqxerMd/ltddmRzvDi+cwt2sRFzM1zpXl7D+QY3ZTHslPfWBnLmyYKB/00r2AkOBtQpoBi/oQzofAf5tyw4lrRmP8IRbQNVgGxl7mTJRxcGQJYHqxz2S0kofVerjXGPSM=; 5:IDa+L/gR/9NCsH/ZPFdxt4TbcmuNO0p3zDrAs1wPmjbF1EvdFdMCplGcJm5j6IsoMR/W9FMoCWHEWCG4xaTsokTzi/h+voYKJDWK1GSlea+47alEgrUX+1E5A4K0ncl7528jyPuZQa2RSmMP3/1SnRXN/x8duZ5ji8Wfknzqak8=; 24:PI+Z3LyuwyEFm1rZRJMIqg4PgGoUhtjiN1cqjDtqWgnd/rIqIcR1rrSQtDDuABajpJe6fnWHSub8X1DrnHuaU0BYa5FTdvmsDZpTiiCH7hg=; 7:o1VALpxbZVhe2KZSGsJLVUFHAO4mf4D4eWlILCgow+fE0n5nU9era6mAj2xCCu/6ZmWPrAKsmhwMsvh9TtdKfdGQfDTzanovhlKscpbXC9t5smAF2bp99wZ609qMbHJ1D56V2WBRx91bySNTGKYn1DDOada6RfAmP686yNfVIc/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: , X-List-Received-Date: Tue, 30 Jan 2018 09:25:02 -0000 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(+) 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; -- 2.7.4