From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 242F91B1BC for ; Wed, 24 Jan 2018 16:42:07 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id CB3BB22712; Wed, 24 Jan 2018 10:42:06 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 24 Jan 2018 10:42:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; 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=Q+BbL/BD19ZA4FvCD Qt+tVGPVociGRTtv4b14zWgmQU=; b=jemV7JfNd+hHHl436yP/K98vlg1XxlSHk Y9TxX+kN9fjvhF2IcxSjPp0Y0Ami9vJBl7nXIlA9mkpOlYlXH5TiiFLnhrqCQS7Y Ctvs11MqEgZFK7E5GE0NgSSazyAoKjFIQ+mCzNRKODz2Qsxm8MHTvipXjLPXaMLH iR7MsoikC+I1iwiYXLtcgn6N32O9LfyKIQnNBEdPd/gP15S7kqQQgQU9+3v9S262 AryIXOxdKA0vPYq17CZKFwjpraTqEnD2l4huetNVSMHhKghAhYM67fFOhZtEQ5Wt zlg0Ah0YpUTgpOv1Lxplutqm6rIdFSO5ChmdcCGh6pzvT8wCANHTA== 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=Q+BbL/ BD19ZA4FvCDQt+tVGPVociGRTtv4b14zWgmQU=; b=q66somPaxHcef90OzlJBVm OlsfoyB0Q3ZkIU7O3gxA8+Ljl+x1VPddnuyS9k5KnTIRc7T/5aGvcRnb5y3VFK9B 7lHrRB9GMEea4p7rsTkIlToGhszr7b4/hmJVVmF+2vTKvP0y2yoGSszfkZXy73W+ wHk7WVA0ABnrpx7UIiNLO28GKuyNlJb4gUUAcMfR2Bxb6JdMSJvNp24q0mbkswF4 JFqgIZEu1foxzWbEpaO/XteYh1GEHOSI/TVwiItUOjmOTeQXBhcn5m340C5AGYo0 +dFPs/zWkIaelw0YMRRy8YOMdH/FoofAEiVtXnfE4IoqcIv1A0uCNo7Y2XDj1wXA == X-ME-Sender: Received: from localhost.localdomain (unknown [115.150.27.206]) by mail.messagingengine.com (Postfix) with ESMTPA id B13667E3D4; Wed, 24 Jan 2018 10:42:04 -0500 (EST) From: Yuanhan Liu To: =?UTF-8?q?N=C3=A9lio=20Laranjeiro?= Cc: Pablo de Lara , dpdk stable Date: Wed, 24 Jan 2018 23:33:27 +0800 Message-Id: <1516808026-25523-139-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> References: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'crypto: fix pedantic compilation' has been queued to LTS release 17.11.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jan 2018 15:42:07 -0000 Hi, FYI, your patch has been queued to LTS release 17.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 01/26/18. So please shout if anyone has objections. Thanks. --yliu --- >>From 7204857e14c01572564e63801013f698d893e16d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?N=C3=A9lio=20Laranjeiro?= Date: Thu, 23 Nov 2017 11:02:38 +0100 Subject: [PATCH] crypto: fix pedantic compilation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [ upstream commit 81c8dff2fd3d5d0f32961002011187ca92d3fef5 ] /x86_64-native-linuxapp-gcc/include/rte_crypto.h:126:28: error: ISO C forbids zero-size array ‘sym’ [-Werror=pedantic] struct rte_crypto_sym_op sym[0]; ^~~ Zero-size array is an extension to the language it cannot be replaced by a empty size array i.e. [] because structure is inside a union. Fixes: d2a4223c4c6d ("cryptodev: do not store pointer to op specific params") Signed-off-by: Nelio Laranjeiro Acked-by: Pablo de Lara --- lib/librte_cryptodev/rte_crypto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_cryptodev/rte_crypto.h b/lib/librte_cryptodev/rte_crypto.h index 3d672fe..6f0b297 100644 --- a/lib/librte_cryptodev/rte_crypto.h +++ b/lib/librte_cryptodev/rte_crypto.h @@ -121,7 +121,7 @@ struct rte_crypto_op { rte_iova_t phys_addr; /**< physical address of crypto operation */ - RTE_STD_C11 + __extension__ union { struct rte_crypto_sym_op sym[0]; /**< Symmetric operation parameters */ -- 2.7.4