|WARNING| pw148144 [PATCH v32 06/12] log: rework syslog handling

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Nov 8 10:00:11 CET 2024


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

_coding style issues_


WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#134: FILE: app/test/test_eal_flags.c:988:
+	const char *argv3[] = {prgname, prefix, mp_flag, "--syslog=user"};

WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#139: FILE: app/test/test_eal_flags.c:992:
+	const char *argv5[] = {prgname, prefix, mp_flag, "--syslog=invalid"};

WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#229: FILE: doc/guides/prog_guide/log_lib.rst:10:
+In addition, the log can be redirected to a different stdio file stream.

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

total: 0 errors, 4 warnings, 502 lines checked


More information about the test-report mailing list