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 18F811B1BD for ; Wed, 24 Jan 2018 16:40:57 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id C084A226D3; Wed, 24 Jan 2018 10:40:56 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 24 Jan 2018 10:40:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=Z9FuAG5C8k2NmUMj1 s4owFzGhEtJ/4qFQdWjnS3HdCc=; b=qSaY/Sld1gPx5Eai+kWyPW3XQUa3m2kSJ HjU/yrLfSpPxukxYaU2GJk8q7TwFVzgIvgggjN9+iBWLik2Oq9/1N0KqMxcfyUvz 2hz4XPvQzb1natYopnYEyamJhN5O7r95sxoFr/anlJqLVM6qCJKwunxllHMUbjgF RakEyikohDZMWMX+PVYfbqqKOzdvA2dMKyOFZ92dJWTnxMTVDHD5Nsq9YDtjfRPo NLUEelPzTJ1usD4i4z6b9s5/B2qzRQKs31qMfNjGzZOpDR79HFYQlmIM9f+qZqwA /a2X1X+iyZa16k+OicFkZRyuH54fyJoeVd+gPwrnyUpRfJGAvaXTQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=Z9FuAG5C8k2NmUMj1s4owFzGhEtJ/4qFQdWjnS3HdCc=; b=PK/TnPgT 6bIbOPlA5E/tpRQkly0rYrzZs63lDVwI9vB3YJ5o2R8vyS9xk4VlXDpjt+u0C8P5 7dq7rkF+i5VAz/SLRDVJFtdIoGy5AuzubjcJFo64zYZGevSxNp80bjJyMymMiCvP ooYP4HRZP10sYHIdGXsZ6ZRaTDORXtJhTfMC9nSD3Ktu2huXphlhnuVfiI4HcfWT C5ih8GUAECkU8uIz2x/lYhiBiczimoqkXZGOkcfJWE4ZEM9dJuWYj9zYWlRMYXJd 5WeKXGs+7TbmiobgcZi0YnSMHwE9Xv2dh6tQiNimxkmc30XFNRaJxihcb4K6posw odXgjQLTxqRfJQ== X-ME-Sender: Received: from localhost.localdomain (unknown [115.150.27.206]) by mail.messagingengine.com (Postfix) with ESMTPA id A470E7E1BE; Wed, 24 Jan 2018 10:40:54 -0500 (EST) From: Yuanhan Liu To: Adrien Mazarguil Cc: Bernard Iremonger , dpdk stable Date: Wed, 24 Jan 2018 23:33:01 +0800 Message-Id: <1516808026-25523-113-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> Subject: [dpdk-stable] patch 'flow_classify: fix ISO C in exported header' 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:40:57 -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 6a4657782cd766a89040c6dc921bd66daed8dc5f Mon Sep 17 00:00:00 2001 From: Adrien Mazarguil Date: Thu, 21 Dec 2017 13:59:59 +0100 Subject: [PATCH] flow_classify: fix ISO C in exported header [ upstream commit 2ca53556544a2479327765fca5d9572b3dc268d6 ] Reported by check-includes.sh: [...]/rte_flow_classify.h:85:47: error: ISO C does not permit named variadic macros [-Werror=variadic-macros] #define RTE_FLOW_CLASSIFY_LOG(level, fmt, args...) \ ^ Fixes: be41ac2a330f ("flow_classify: introduce flow classify library") Signed-off-by: Adrien Mazarguil Acked-by: Bernard Iremonger --- lib/librte_flow_classify/rte_flow_classify.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/librte_flow_classify/rte_flow_classify.h b/lib/librte_flow_classify/rte_flow_classify.h index 1211873..e14bc78 100644 --- a/lib/librte_flow_classify/rte_flow_classify.h +++ b/lib/librte_flow_classify/rte_flow_classify.h @@ -70,6 +70,7 @@ * with rte_flow_classifier_free() */ +#include #include #include #include @@ -82,9 +83,12 @@ extern "C" { extern int librte_flow_classify_logtype; -#define RTE_FLOW_CLASSIFY_LOG(level, fmt, args...) \ -rte_log(RTE_LOG_ ## level, librte_flow_classify_logtype, "%s(): " fmt, \ - __func__, ## args) +#define RTE_FLOW_CLASSIFY_LOG(level, ...) \ + rte_log(RTE_LOG_ ## level, \ + librte_flow_classify_logtype, \ + RTE_FMT("%s(): " RTE_FMT_HEAD(__VA_ARGS__,), \ + __func__, \ + RTE_FMT_TAIL(__VA_ARGS__,))) /** Opaque data type for flow classifier */ struct rte_flow_classifier; -- 2.7.4