|WARNING| pw147436 [PATCH v30 12/13] log: colorize log output

checkpatch at dpdk.org checkpatch at dpdk.org
Sun Oct 27 18:28:28 CET 2024


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

_coding style issues_


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

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#481: 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)
#495: 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)
#537: FILE: lib/log/log_private.h:48:
+int color_print(FILE *f, const char *format, va_list ap);
                      ^

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

total: 4 errors, 1 warnings, 395 lines checked


More information about the test-report mailing list