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| pw129537 [PATCH 1/3] doc: announce bonding macro change
Date: Fri, 14 Jul 2023 10:17:11 +0200 (CEST)	[thread overview]
Message-ID: <20230714081711.52F7F12092E@dpdk.org> (raw)
In-Reply-To: <20230714081526.1277786-2-chaoyong.he@corigine.com>

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

_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'?
#137: FILE: doc/guides/rel_notes/deprecation.rst:165:
+* bonding: The macro ``RTE_ETH_DEV_BONDED_SLAVE`` will be deprecated in

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#149: 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'?
#158: 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'?
#167: 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'?
#183: 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'?
#183: 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
#183: 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, 50 lines checked

           reply	other threads:[~2023-07-14  8:17 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20230714081526.1277786-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=20230714081711.52F7F12092E@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).