|WARNING| pw138995 [PATCH v19 15/15] log: colorize log output

checkpatch at dpdk.org checkpatch at dpdk.org
Sat Mar 30 04:08:00 CET 2024


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

_coding style issues_


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

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

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

total: 1 errors, 2 warnings, 353 lines checked


More information about the test-report mailing list