From f577a753f08a959e679c94d9c33c9dafbce566cf Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 16 Jul 2015 14:06:40 -0700 Subject: [PATCH] fm10k: fix missing newline in debug log If FM10K_DEBUG_DRIVER is enabled, then the log messages about function entry are missing newline causing extremely long lines. Signed-off-by: Stephen Hemminger Acked-by: Jing Chen --- drivers/net/fm10k/base/fm10k_osdep.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/fm10k/base/fm10k_osdep.h b/drivers/net/fm10k/base/fm10k_osdep.h index 04f8fe9bf5..53c433cb6b 100644 --- a/drivers/net/fm10k/base/fm10k_osdep.h +++ b/drivers/net/fm10k/base/fm10k_osdep.h @@ -45,7 +45,7 @@ POSSIBILITY OF SUCH DAMAGE. #define ERROR_REPORT2(v1, v2, v3) do { } while (0) #define STATIC static -#define DEBUGFUNC(F) DEBUGOUT(F); +#define DEBUGFUNC(F) DEBUGOUT(F "\n"); #define DEBUGOUT(S, args...) PMD_DRV_LOG_RAW(DEBUG, S, ##args) #define DEBUGOUT1(S, args...) DEBUGOUT(S, ##args) #define DEBUGOUT2(S, args...) DEBUGOUT(S, ##args) -- 2.20.1