[dpdk-test-report] |WARNING| pw91112 [PATCH 2/3] test: disable no-huge where it's not necessary

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Apr 12 12:07:16 CEST 2021


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

_coding style issues_


WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#129: FILE: app/test/test_eal_flags.c:368:
+	const char *vdevinval[] = {prgname, prefix, no_huge_compat,

WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#134: FILE: app/test/test_eal_flags.c:372:
+	const char *vdevval1[] = {prgname, prefix, no_huge_compat,

WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#138: FILE: app/test/test_eal_flags.c:375:
+	const char *vdevval2[] = {prgname, prefix, no_huge_compat,

WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#142: FILE: app/test/test_eal_flags.c:378:
+	const char *vdevval3[] = {prgname, prefix, no_huge_compat,

WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#151: FILE: app/test/test_eal_flags.c:688:
+	const char *argv1[] = { prgname, prefix, no_huge_compat, no_shconf,

WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#155: FILE: app/test/test_eal_flags.c:691:
+	const char *argv2[] = { prgname, prefix, no_huge_compat, no_shconf,

WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#159: FILE: app/test/test_eal_flags.c:694:
+	const char *argv3[] = { prgname, prefix, no_huge_compat, no_shconf,

WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#163: FILE: app/test/test_eal_flags.c:697:
+	const char *argv4[] = { prgname, prefix, no_huge_compat, no_shconf,

WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#167: FILE: app/test/test_eal_flags.c:700:
+	const char *argv5[] = { prgname, prefix, no_huge_compat, no_shconf};

total: 0 errors, 9 warnings, 78 lines checked


More information about the test-report mailing list