|WARNING| pw140668 [PATCH v21 14/14] log: colorize log output

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Jun 4 02:51:13 CEST 2024


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

_coding style issues_


WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 8)
#260: FILE: lib/log/log.c:522:
 	else
[...]
+	if (log_color_enabled(is_terminal)) {

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

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#343: FILE: lib/log/log_color.c:56:
+color_fprintf(FILE *out, enum color color, const char *fmt, ...)
                    ^

total: 1 errors, 2 warnings, 329 lines checked


More information about the test-report mailing list