|WARNING| pw146107 [PATCH v26 14/15] log: colorize log output

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Oct 16 22:27:17 CEST 2024


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

_coding style issues_


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

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

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

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

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

total: 4 errors, 1 warnings, 385 lines checked


More information about the test-report mailing list