From: Hyong Youb Kim Date: Thu, 31 Oct 2019 05:36:21 +0000 (-0700) Subject: net/enic: fix whitespaces in log macros X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=1d36e76306b411575ba2e4fe2c88e08ed65c6b10;p=dpdk.git 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 --- 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