automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: "Min Hu (Connor)" <humin29@huawei.com>
Subject: |WARNING| pw108833 [PATCH V2 4/4] app/testpmd: fix slave device isn't released
Date: Thu, 24 Mar 2022 04:03:16 +0100 (CET)	[thread overview]
Message-ID: <20220324030316.5768F121D58@dpdk.org> (raw)
In-Reply-To: <20220324030036.4761-5-humin29@huawei.com>

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

_coding style issues_


WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#34: 
Subject: [PATCH V2 4/4] app/testpmd: fix slave device isn't released

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#63: 
release operation for all active slaves under a bond device.

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#106: FILE: app/test-pmd/testpmd.c:3173:
+clear_bonding_slave_device(portid_t *slave_pids, uint16_t num_slaves)

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#106: FILE: app/test-pmd/testpmd.c:3173:
+clear_bonding_slave_device(portid_t *slave_pids, uint16_t num_slaves)

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#106: FILE: app/test-pmd/testpmd.c:3173:
+clear_bonding_slave_device(portid_t *slave_pids, uint16_t num_slaves)

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#109: FILE: app/test-pmd/testpmd.c:3176:
+	portid_t slave_pid;

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#112: FILE: app/test-pmd/testpmd.c:3179:
+	for (i = 0; i < num_slaves; i++) {

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#113: FILE: app/test-pmd/testpmd.c:3180:
+		slave_pid = slave_pids[i];

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#113: FILE: app/test-pmd/testpmd.c:3180:
+		slave_pid = slave_pids[i];

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#114: FILE: app/test-pmd/testpmd.c:3181:
+		if (port_is_started(slave_pid) == 1) {

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#115: FILE: app/test-pmd/testpmd.c:3182:
+			if (rte_eth_dev_stop(slave_pid) != 0)

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#117: FILE: app/test-pmd/testpmd.c:3184:
+					slave_pid);

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#119: FILE: app/test-pmd/testpmd.c:3186:
+			port = &ports[slave_pid];

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#123: FILE: app/test-pmd/testpmd.c:3190:
+		clear_port_slave_flag(slave_pid);

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#123: FILE: app/test-pmd/testpmd.c:3190:
+		clear_port_slave_flag(slave_pid);

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#125: FILE: app/test-pmd/testpmd.c:3192:
+		/* Close slave device when testpmd quit or is killed. */

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#127: FILE: app/test-pmd/testpmd.c:3194:
+			rte_eth_dev_close(slave_pid);

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#138: FILE: app/test-pmd/testpmd.c:3205:
+	portid_t slave_pids[RTE_MAX_ETHPORTS];

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#139: FILE: app/test-pmd/testpmd.c:3206:
+	int num_slaves = 0;

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#150: FILE: app/test-pmd/testpmd.c:3243:
+				num_slaves = rte_eth_bond_slaves_get(pi,

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#150: FILE: app/test-pmd/testpmd.c:3243:
+				num_slaves = rte_eth_bond_slaves_get(pi,

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#151: FILE: app/test-pmd/testpmd.c:3244:
+							slave_pids,

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#157: FILE: app/test-pmd/testpmd.c:3250:
+			 * If this port is bonded device, all slaves under the

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#160: FILE: app/test-pmd/testpmd.c:3253:
+			if (port->bond_flag == 1 && num_slaves > 0)

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#161: FILE: app/test-pmd/testpmd.c:3254:
+				clear_bonding_slave_device(slave_pids,

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#161: FILE: app/test-pmd/testpmd.c:3254:
+				clear_bonding_slave_device(slave_pids,

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#162: FILE: app/test-pmd/testpmd.c:3255:
+							num_slaves);

total: 0 errors, 27 warnings, 87 lines checked

       reply	other threads:[~2022-03-24  3:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20220324030036.4761-5-humin29@huawei.com>
2022-03-24  3:03 ` checkpatch [this message]
2022-03-24  5:19 ` |SUCCESS| " 0-day Robot

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=20220324030316.5768F121D58@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=humin29@huawei.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).