automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Chaoyong He <chaoyong.he@corigine.com>
Subject: |WARNING| pw129615 [PATCH v3 1/3] doc: announce bonding macro change
Date: Tue, 18 Jul 2023 10:29:43 +0200 (CEST)	[thread overview]
Message-ID: <20230718082943.2924412092E@dpdk.org> (raw)
In-Reply-To: <20230718082856.2235450-2-chaoyong.he@corigine.com>

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

_coding style issues_


WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#124: FILE: app/test-pmd/testpmd.c:4251:
+	if ((*dev_info.dev_flags & RTE_ETH_DEV_BONDING_MEMBER) || (port->slave_flag == 1))

WARNING:TYPO_SPELLING: 'SLAVE' may be misspelled - perhaps 'SECONDARY'?
#136: FILE: doc/guides/rel_notes/deprecation.rst:121:
+* bonding: The macro ``RTE_ETH_DEV_BONDED_SLAVE`` will be deprecated in

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#152: FILE: drivers/net/bonding/rte_eth_bond_api.c:475:
+	if (slave_eth_dev->data->dev_flags & RTE_ETH_DEV_BONDING_MEMBER) {

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#161: FILE: drivers/net/bonding/rte_eth_bond_api.c:618:
+	slave_eth_dev->data->dev_flags |= RTE_ETH_DEV_BONDING_MEMBER;

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#170: FILE: drivers/net/bonding/rte_eth_bond_api.c:727:
+	slave_eth_dev->data->dev_flags &= (~RTE_ETH_DEV_BONDING_MEMBER);

WARNING:TYPO_SPELLING: 'SLAVE' may be misspelled - perhaps 'SECONDARY'?
#186: FILE: lib/ethdev/rte_ethdev.h:2041:
+#define RTE_ETH_DEV_BONDED_SLAVE RTE_DEPRECATED(RTE_ETH_DEV_BONDED_SLAVE) RTE_ETH_DEV_BONDING_MEMBER

WARNING:TYPO_SPELLING: 'SLAVE' may be misspelled - perhaps 'SECONDARY'?
#186: FILE: lib/ethdev/rte_ethdev.h:2041:
+#define RTE_ETH_DEV_BONDED_SLAVE RTE_DEPRECATED(RTE_ETH_DEV_BONDED_SLAVE) RTE_ETH_DEV_BONDING_MEMBER

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#186: FILE: lib/ethdev/rte_ethdev.h:2041:
+#define RTE_ETH_DEV_BONDED_SLAVE RTE_DEPRECATED(RTE_ETH_DEV_BONDED_SLAVE) RTE_ETH_DEV_BONDING_MEMBER

total: 1 errors, 7 warnings, 53 lines checked

           reply	other threads:[~2023-07-18  8:29 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20230718082856.2235450-2-chaoyong.he@corigine.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=20230718082943.2924412092E@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=chaoyong.he@corigine.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).