|WARNING| pw138845 [PATCH v15 13/15] log: add optional support of syslog

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Mar 27 01:32:39 CET 2024


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

_coding style issues_


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

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

total: 0 errors, 2 warnings, 223 lines checked


More information about the test-report mailing list