From: Stephen Hemminger Date: Thu, 16 Jul 2015 21:06:40 +0000 (-0700) Subject: fm10k: fix missing newline in debug log X-Git-Tag: spdx-start~8664 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=f577a753f08a959e679c94d9c33c9dafbce566cf;p=dpdk.git 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 --- 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)