* [dpdk-test-report] |WARNING| pw54825 [PATCH v2 11/15] test/eal: set core mask/list config only in dedicated test
[not found] <1560580950-16754-12-git-send-email-david.marchand@redhat.com>
@ 2019-06-15 6:44 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2019-06-15 6:44 UTC (permalink / raw)
To: test-report; +Cc: David Marchand
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/54825
_coding style issues_
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#61: FILE: app/test/test_eal_flags.c:262:
+ const char *wlval1[] = {prgname, prefix, mp_flag,
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#64: FILE: app/test/test_eal_flags.c:264:
+ const char *wlval2[] = {prgname, prefix, mp_flag,
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#67: FILE: app/test/test_eal_flags.c:266:
+ const char *wlval3[] = {prgname, prefix, mp_flag,
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#90: FILE: app/test/test_eal_flags.c:322:
+ const char *blval[] = {prgname, prefix, mp_flag,
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#131: FILE: app/test/test_eal_flags.c:422:
+ const char *rval[] = {prgname, prefix, mp_flag, "-r", "16"};
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#140: FILE: app/test/test_eal_flags.c:664:
+ const char *argv1[] = { prgname, prefix, no_huge, no_shconf,
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#144: FILE: app/test/test_eal_flags.c:667:
+ const char *argv2[] = { prgname, prefix, no_huge, no_shconf,
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#148: FILE: app/test/test_eal_flags.c:670:
+ const char *argv3[] = { prgname, prefix, no_huge, no_shconf,
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#152: FILE: app/test/test_eal_flags.c:673:
+ const char *argv4[] = { prgname, prefix, no_huge, no_shconf,
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#156: FILE: app/test/test_eal_flags.c:676:
+ const char *argv5[] = { prgname, prefix, no_huge, no_shconf};
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#165: FILE: app/test/test_eal_flags.c:717:
+ const char *argv1[] = {prgname, prefix, mp_flag, no_hpet};
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#168: FILE: app/test/test_eal_flags.c:719:
+ const char *argv2[] = {prgname, prefix, mp_flag};
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#177: FILE: app/test/test_eal_flags.c:748:
+ const char *argv1[] = {prgname, prefix, no_huge};
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#180: FILE: app/test/test_eal_flags.c:750:
+ const char *argv2[] = {prgname, prefix, no_huge,
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#185: FILE: app/test/test_eal_flags.c:754:
+ const char *argv3[] = {prgname, prefix, no_huge,
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#189: FILE: app/test/test_eal_flags.c:757:
+ const char *argv4[] = {prgname, prefix, no_huge,
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#198: FILE: app/test/test_eal_flags.c:844:
+ const char *argv0[] = {prgname, prefix, mp_flag, "--invalid-opt"};
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#202: FILE: app/test/test_eal_flags.c:847:
+ const char *argv1[] = {prgname, prefix, mp_flag, "--no-pci"};
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#205: FILE: app/test/test_eal_flags.c:849:
+ const char *argv2[] = {prgname, prefix, mp_flag, "-v"};
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#208: FILE: app/test/test_eal_flags.c:851:
+ const char *argv3[] = {prgname, prefix, mp_flag,
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#212: FILE: app/test/test_eal_flags.c:854:
+ const char *argv4[] = {prgname, prefix, mp_flag, "--syslog"};
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#215: FILE: app/test/test_eal_flags.c:856:
+ const char *argv5[] = {prgname, prefix, mp_flag, "--syslog", "error"};
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#218: FILE: app/test/test_eal_flags.c:858:
+ const char *argv6[] = {prgname, "-m", DEFAULT_MEM_SIZE,
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#223: FILE: app/test/test_eal_flags.c:862:
+ const char *argv7[] = {prgname, "-m", DEFAULT_MEM_SIZE,
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#227: FILE: app/test/test_eal_flags.c:865:
+ const char *argv8[] = {prgname, "-m", DEFAULT_MEM_SIZE,
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#231: FILE: app/test/test_eal_flags.c:868:
+ const char *argv9[] = {prgname, "-m", DEFAULT_MEM_SIZE,
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#236: FILE: app/test/test_eal_flags.c:872:
+ const char *argv10[] = {prgname, prefix, mp_flag,
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#271: FILE: app/test/test_eal_flags.c:1004:
+ const char *argv0[] = {prgname, mp_flag, "-m",
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#276: FILE: app/test/test_eal_flags.c:1008:
+ const char *argv1[] = {prgname, "-m",
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#281: FILE: app/test/test_eal_flags.c:1012:
+ const char *argv2[] = {prgname, "-m",
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#287: FILE: app/test/test_eal_flags.c:1017:
+ const char *argv3[] = {prgname, "-m",
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#293: FILE: app/test/test_eal_flags.c:1022:
+ const char *argv4[] = {prgname, "-m",
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#302: FILE: app/test/test_eal_flags.c:1167:
+ const char *argv0[] = {prgname, prefix, mp_flag,
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#307: FILE: app/test/test_eal_flags.c:1171:
+ const char *argv1[] = {prgname,
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#312: FILE: app/test/test_eal_flags.c:1175:
+ const char *argv2[] = {prgname,
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#317: FILE: app/test/test_eal_flags.c:1179:
+ const char *argv3[] = {prgname,
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#322: FILE: app/test/test_eal_flags.c:1183:
+ const char *argv4[] = {prgname,
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#327: FILE: app/test/test_eal_flags.c:1187:
+ const char *argv5[] = {prgname,
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#332: FILE: app/test/test_eal_flags.c:1191:
+ const char *argv6[] = {prgname,
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#337: FILE: app/test/test_eal_flags.c:1195:
+ const char *argv7[] = {prgname,
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#342: FILE: app/test/test_eal_flags.c:1199:
+ const char *argv8[] = {prgname,
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#351: FILE: app/test/test_eal_flags.c:1251:
+ const char *argv9[] = {prgname,
WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#356: FILE: app/test/test_eal_flags.c:1255:
+ const char *argv10[] = {prgname,
total: 0 errors, 43 warnings, 313 lines checked
^ permalink raw reply [flat|nested] only message in thread