|WARNING| pw148149 [PATCH v32 11/12] log: colorize log output

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Nov 8 09:59:53 CET 2024


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/148149

_coding style issues_


WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#327: FILE: lib/log/log_color.c:5:
+#include <stdio.h>

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#507: FILE: lib/log/log_color.c:185:
+color_print(FILE *f, const char *format, va_list ap)
                  ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#521: FILE: lib/log/log_color.c:199:
+color_print_with_timestamp(FILE *f, const char *format, va_list ap)
                                 ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#563: FILE: lib/log/log_private.h:52:
+int color_print(FILE *f, const char *format, va_list ap);
                      ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#566: FILE: lib/log/log_private.h:55:
+int color_print_with_timestamp(FILE *f, const char *format, va_list ap);
                                     ^

total: 4 errors, 1 warnings, 414 lines checked


More information about the test-report mailing list