fm10k: add missing newline to debug log
PATCH v2 1/1 fm10k: add missing newline to 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 <[email protected]>
--- drivers/net/fm10k/base/fm10k_osdep.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/fm10k/base/fm10k_osdep.h +1 -1
@@ -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)
Signature · 1 line
2.1.4
Quoted 8 lines
-----Original Message-----
From: Stephen Hemminger [mailto:[email protected]]
Sent: Friday, July 17, 2015 5:07 AM
To: Chen, Jing D
Cc: [email protected]; Stephen Hemminger
Subject: [PATCH v2] fm10k: add missing newline to debug log
Quoted 4 lines
If
FM10K_DEBUG_DRIVERis enabled, then the log messages about function entry are missing newline causing extremely long lines.Signed-off-by Stephen Hemminger <[email protected]>
Acked-by Jing Chen <[email protected]>
Thomas Monjalon
AppliedQuoted 6 lines
Quoted 4 lines
If
FM10K_DEBUG_DRIVERis enabled, then the log messages about function entry are missing newline causing extremely long lines.Signed-off-by Stephen Hemminger <[email protected]>Acked-by Jing Chen <[email protected]>
Applied, thanks