automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Stephen Hemminger <stephen@networkplumber.org>
Subject: [dpdk-test-report] |WARNING| pw77474 [PATCH 06/15] app/test: replace uses of master/slave
Date: Fri, 11 Sep 2020 21:08:54 +0200 (CEST)	[thread overview]
Message-ID: <20200911190854.E0A0E1C116@dpdk.org> (raw)
In-Reply-To: <20200911190701.29171-7-stephen@networkplumber.org>

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

_coding style issues_


WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#64: 
Subject: [dpdk-dev] [PATCH 06/15] app/test: replace uses of master/slave

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#64: 
Subject: [dpdk-dev] [PATCH 06/15] app/test: replace uses of master/slave

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#79: 
Replace master lcore with main lcore and slave lcore with worker lcore.

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#79: 
Replace master lcore with main lcore and slave lcore with worker lcore.

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#386: FILE: app/test/test_distributor_perf.c:57:
+	unsigned i, workerid = rte_get_next_lcore(rte_lcore_id(), 0, 0);

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#730: FILE: app/test/test_kni.c:88:
+static unsigned lcore_main, lcore_ingress, lcore_egress;

ERROR:CODE_INDENT: code indent should use tabs where possible
#954: FILE: app/test/test_mbuf.c:1160:
+^I^I          tref, refcnt_lcore[main_lcore]);$

WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#1895: FILE: app/test/test_timer.c:265:
+ * on main lcore */

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#1904: FILE: app/test/test_timer.c:281:
+	unsigned main_lcore = rte_get_main_lcore();

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#2074: FILE: app/test/test_timer_racecond.c:59:
+static unsigned main_lcore;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#2084: FILE: app/test/test_timer_racecond.c:93:
+	ret = rte_timer_reset(tim, ticks, PERIODICAL, main_lcore, timer_cb, NULL);

total: 1 errors, 10 warnings, 1763 lines checked

           reply	other threads:[~2020-09-11 19:08 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20200911190701.29171-7-stephen@networkplumber.org>]

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=20200911190854.E0A0E1C116@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=stephen@networkplumber.org \
    --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).