net/enic: fix whitespaces in log macros
authorHyong Youb Kim <hyonkim@cisco.com>
Thu, 31 Oct 2019 05:36:21 +0000 (22:36 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Nov 2019 22:15:05 +0000 (23:15 +0100)
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 <hyonkim@cisco.com>
Reviewed-by: John Daley <johndale@cisco.com>
drivers/net/enic/enic_compat.h

index bf9e998..bdf4edc 100644 (file)
@@ -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