[dpdk-dev,v2] fm10k: add missing newline to debug log
Commit Message
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 <stephen@networkplumber.org>
---
drivers/net/fm10k/base/fm10k_osdep.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
> -----Original Message-----
> From: Stephen Hemminger [mailto:stephen@networkplumber.org]
> Sent: Friday, July 17, 2015 5:07 AM
> To: Chen, Jing D
> Cc: dev@dpdk.org; Stephen Hemminger
> Subject: [PATCH v2] 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 <stephen@networkplumber.org>
Acked-by : Jing Chen <jing.d.chen@intel.com>
> > 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 <stephen@networkplumber.org>
>
> Acked-by : Jing Chen <jing.d.chen@intel.com>
Applied, thanks
@@ -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)