From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id BBC801B327 for ; Tue, 30 Jan 2018 00:19:18 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 6739F20BFF; Mon, 29 Jan 2018 18:19:18 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Mon, 29 Jan 2018 18:19:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=ZWKtCLERnC6Vd5IoOj33dLHsGD yUA1U4L971V6rnDxo=; b=s4X4IOFRlyvaTk9Jg19PK2vJpYPLfd/R2OCQdZo2cm 2XgniIQZ2A9ZcYFqtYL1diQW1vvStj9l2XHzD/uodWbl/eJlrAFI4lUI8gZl3VXX hA5Yt9fDBFfifc8Q/tt9Ct+cREQJCNOZeNyTP6CLLp0U0bo/f0iw13cnfPlweNV7 4= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=ZWKtCL ERnC6Vd5IoOj33dLHsGDyUA1U4L971V6rnDxo=; b=X5PS3Zw6daYnavO2s9cCBb woMF8ZWZtnAu/SMCpHEkQDEZ0NkQu48sgLqg8OKEf5LVfe9j/t/738rMWydouXFu zoEMbzlfM9ZtVjwMd0o91u0zcgE/PFDeNRnsIXzaQanMdqWpL/eiU9zwzw+X3Y3m csCaPMVVFY+gOWgSHgMe8gh5b3FnOrzQP0SzG/vdoMx/pzLfbXJzaPwLmqxn6G59 67q2iStUh/jQPMuZEnw0vWAdILpE7A15vAUV8wECqZGHPEjL3CB48J5tu8CiXR1B d+eJNarRVN4roXSECkE4DEZwu8iKVysaCbc9wxN3QUKhuJtLN19z2S9J5enOwDeA == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 1533024724; Mon, 29 Jan 2018 18:19:18 -0500 (EST) From: Thomas Monjalon To: hemant.agrawal@nxp.com Cc: dev@dpdk.org Date: Tue, 30 Jan 2018 00:18:32 +0100 Message-ID: <2865203.hAOOJGMPPG@xps> In-Reply-To: <20180129223650.16777-1-thomas@monjalon.net> References: <20180129223650.16777-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] crypto/dpaa2_sec: fix build with GCC 7 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, 29 Jan 2018 23:19:18 -0000 29/01/2018 23:36, Thomas Monjalon: > Seen with GCC 7.2.0, a switch fall through is detected and > cannot be fixed with a fall-through comment or attribute: > > drivers/crypto/dpaa2_sec/hw/rta/operation_cmd.h:89:6: error: > this statement may fall through [-Werror=implicit-fallthrough=] > if (rta_sec_era < RTA_SEC_ERA_2) > ^ > > The check is disabled in dpaa2_sec Makefile but not in dpaa_sec Makefile > which uses source code shared by dpaa2_sec. > > The workaround is to disable the check at the beginning of the file. > > Signed-off-by: Thomas Monjalon Applied