From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mellanox.co.il (unknown [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 8DA3E91B3 for ; Sun, 6 Dec 2015 14:13:59 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from yaacovh@mellanox.com) with ESMTPS (AES256-SHA encrypted); 6 Dec 2015 15:13:49 +0200 Received: from r-aa-dragon13.mtr.labs.mlnx (r-aa-dragon13.mtr.labs.mlnx [10.209.68.153]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id tB6DDnbE002452; Sun, 6 Dec 2015 15:13:49 +0200 Received: from r-aa-dragon13.mtr.labs.mlnx (localhost [127.0.0.1]) by r-aa-dragon13.mtr.labs.mlnx (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id tB6DDpDd028223; Sun, 6 Dec 2015 15:13:56 +0200 Received: (from yaacovh@localhost) by r-aa-dragon13.mtr.labs.mlnx (8.14.4/8.14.4/Submit) id tB6DDnTC028220; Sun, 6 Dec 2015 15:13:49 +0200 From: Yaacov Hazan To: dev@dpdk.org Date: Sun, 6 Dec 2015 15:13:29 +0200 Message-Id: <1449407609-28177-1-git-send-email-yaacovh@mellanox.com> X-Mailer: git-send-email 1.9.1 Subject: [dpdk-dev] [PATCH] lib: librte_ether: fix RTE_PMD_DEBUG_TRACE macro X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2015 13:13:59 -0000 RTE_PMD_DEBUG_TRACE was changed also to support pedantic flag, but not completely. the macro changed only under the RTE_LIBRTE_ETHDEV_DEBUG define, but when RTE_LIBRTE_ETHDEV_DEBUG is not defined the old format was left. fix the macro to support pedantic flag in any case. Signed-off-by: Yaacov Hazan --- lib/librte_ether/rte_ethdev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h index 1ff29e2..bada8ad 100644 --- a/lib/librte_ether/rte_ethdev.h +++ b/lib/librte_ether/rte_ethdev.h @@ -938,7 +938,7 @@ TAILQ_HEAD(rte_eth_dev_cb_list, rte_eth_dev_callback); #define RTE_PMD_DEBUG_TRACE(...) \ rte_pmd_debug_trace(__func__, __VA_ARGS__) #else -#define RTE_PMD_DEBUG_TRACE(fmt, args...) +#define RTE_PMD_DEBUG_TRACE(...) #endif -- 1.9.1