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 632411B1B9 for ; Wed, 24 Jan 2018 16:40:59 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 1BB06226E5; Wed, 24 Jan 2018 10:40:59 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 24 Jan 2018 10:40:59 -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=azwOs18zuywC76ark ZcnU1I3uIB1WFaqYrzmnXlnvww=; b=oIPwPOhn6rT63ywzC+x5tEl49yEYEUikC 2CNzm1kI3CKL7QDYsDUxYZeKZxviNF6EURH+9SgrVwebNcfwuZsmArs+v0dxQr+Y Q9qo231inAqxBrb94HX5zH7XpYXTD87xWF+aNdSrSTp+3jQbLmiRkevXLM+SjbfA 7dm+iUNHUazxaNI80LZVIoFUw74ZuJn5CqMD1aU23I6WNRssSZXOZaTxUhuJdgbN 69JGH1ZhkIQh7p08QJvbZMOR5vu9mogxSkY3IXhPmSGapdVpB+r9X3hLh2amNlAU eiVi2eXCa/IlbLJHWgXW3Ui+bdhNIy2siM6TaVwP0xMjO7xQTfaRw== 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=azwOs18zuywC76arkZcnU1I3uIB1WFaqYrzmnXlnvww=; b=TwJj72ph fNm8Neu4BVHOy/vQ6qQSoQvIvfk14ehaQVjheZg4+UJhmFJwKCl2D/OffvIcI6UM t8RJ/DON29sxbEr3ymOdCfTi8t+JQjIdygHmkYMx/4+RZDlhDF9/49fj9bm3ON+h L71eT34RepXPbjcFD4c3ayCp15TLfd12Ma3EoJWqQi2bGOLXK8fZTzFbqujrWqXl J3UZjM7qucfxND2axU+iC1WRX8KrfuIudwqwCo0JgKwAd/nE2If4Z/SgJOHawm9i ykzHJg/qCcB+v6TsXtyWIyxnrmLoEhYxxwWV1DCP9B2w44Loh3FdWMOStwsxRUx9 A7LfHActg8QEKw== X-ME-Sender: Received: from localhost.localdomain (unknown [115.150.27.206]) by mail.messagingengine.com (Postfix) with ESMTPA id 55FC07E354; Wed, 24 Jan 2018 10:40:56 -0500 (EST) From: Yuanhan Liu To: Adrien Mazarguil Cc: dpdk stable Date: Wed, 24 Jan 2018 23:33:02 +0800 Message-Id: <1516808026-25523-114-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 'member: 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:59 -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 6977be20d7c262d348985115009d1f03cce37480 Mon Sep 17 00:00:00 2001 From: Adrien Mazarguil Date: Thu, 21 Dec 2017 14:00:02 +0100 Subject: [PATCH] member: fix ISO C in exported header [ upstream commit 34c709f9b21cc5bc9bad338e908ebca08a6dfc37 ] Reported by check-includes.sh: [...]/rte_member.h:107:40: error: ISO C does not permit named variadic macros [-Werror=variadic-macros] #define RTE_MEMBER_LOG(level, fmt, args...) \ ^ Fixes: 857ed6c68cf2 ("member: implement main API") Signed-off-by: Adrien Mazarguil --- lib/librte_member/rte_member.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/lib/librte_member/rte_member.h b/lib/librte_member/rte_member.h index 9b0c8f9..fa08711 100644 --- a/lib/librte_member/rte_member.h +++ b/lib/librte_member/rte_member.h @@ -80,6 +80,8 @@ extern "C" { #include +#include + /** The set ID type that stored internally in hash table based set summary. */ typedef uint16_t member_set_t; /** Invalid set ID used to mean no match found. */ @@ -104,9 +106,12 @@ typedef uint16_t member_set_t; extern int librte_member_logtype; -#define RTE_MEMBER_LOG(level, fmt, args...) \ -rte_log(RTE_LOG_ ## level, librte_member_logtype, "%s(): " fmt, \ - __func__, ## args) +#define RTE_MEMBER_LOG(level, ...) \ + rte_log(RTE_LOG_ ## level, \ + librte_member_logtype, \ + RTE_FMT("%s(): " RTE_FMT_HEAD(__VA_ARGS__,), \ + __func__, \ + RTE_FMT_TAIL(__VA_ARGS__,))) /** @internal setsummary structure. */ struct rte_member_setsum; -- 2.7.4