Add a space between the function name and message. Fixes: bbd8ecc05434 ("net/enic: remove PMD log type references")
Signed-off-by: Hyong Youb Kim <hyon...@cisco.com> Reviewed-by: John Daley <johnd...@cisco.com> --- 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 bf9e998a6..bdf4edcab 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 -- 2.22.0