|WARNING| pw140663 [PATCH v21 09/14] log: drop syslog support, and make code common

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Jun 4 02:49:04 CEST 2024


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

_coding style issues_


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

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

total: 0 errors, 2 warnings, 134 lines checked


More information about the test-report mailing list