automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: David Marchand <david.marchand@redhat.com>
Subject: [dpdk-test-report] |WARNING| pw54825 [PATCH v2 11/15] test/eal: set core mask/list config only in dedicated test
Date: Sat, 15 Jun 2019 08:44:08 +0200 (CEST)	[thread overview]
Message-ID: <20190615064408.108DA1D560@dpdk.org> (raw)
In-Reply-To: <1560580950-16754-12-git-send-email-david.marchand@redhat.com>

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

           reply	other threads:[~2019-06-15  6:44 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1560580950-16754-12-git-send-email-david.marchand@redhat.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190615064408.108DA1D560@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=david.marchand@redhat.com \
    --cc=test-report@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).