From 1d36e76306b411575ba2e4fe2c88e08ed65c6b10 Mon Sep 17 00:00:00 2001 From: Hyong Youb Kim Date: Wed, 30 Oct 2019 22:36:21 -0700 Subject: [PATCH] net/enic: fix whitespaces in log macros Add a space between the function name and message. Fixes: bbd8ecc05434 ("net/enic: remove PMD log type references") Cc: stable@dpdk.org Signed-off-by: Hyong Youb Kim Reviewed-by: John Daley --- drivers/net/enic/enic_compat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/enic/enic_compat.h b/drivers/net/enic/enic_compat.h index bf9e998a6a..bdf4edcab4 100644 --- a/drivers/net/enic/enic_compat.h +++ b/drivers/net/enic/enic_compat.h @@ -60,8 +60,8 @@ extern int enic_pmd_logtype; #define ENICPMD_LOG(level, fmt, args...) \ rte_log(RTE_LOG_ ## level, enic_pmd_logtype, \ - "%s" fmt "\n", __func__, ##args) -#define ENICPMD_FUNC_TRACE() ENICPMD_LOG(DEBUG, " >>") + "%s " fmt "\n", __func__, ##args) +#define ENICPMD_FUNC_TRACE() ENICPMD_LOG(DEBUG, ">>") #define __le16 u16 #define __le32 u32