[dpdk-test-report] |WARNING| pw35376 [PATCH v2 1/3] eal: allow symbolic log levels
checkpatch at dpdk.org
checkpatch at dpdk.org
Fri Feb 23 22:19:28 CET 2018
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/35376
_coding style issues_
WARNING:STATIC_CONST_CHAR_ARRAY: static const char * array should probably be static const char * const
#34: FILE: lib/librte_eal/common/eal_common_options.c:916:
+ static const char *levels[] = {
WARNING:ARRAY_SIZE: Prefer ARRAY_SIZE(levels)
#53: FILE: lib/librte_eal/common/eal_common_options.c:935:
+ for (i = 1; i < sizeof(levels) / sizeof(levels[0]); i++) {
total: 0 errors, 2 warnings, 83 lines checked
More information about the test-report
mailing list