|WARNING| pw120862 [PATCH v2 2/3] net/bonding: support dump LACP info

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Dec 14 07:20:45 CET 2022


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

_coding style issues_


WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#128: FILE: drivers/net/bonding/rte_eth_bond_pmd.c:3474:
+dump_lacp_slave(const struct rte_eth_bond_8023ad_slave_info *info, FILE *f)

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#128: FILE: drivers/net/bonding/rte_eth_bond_pmd.c:3474:
+dump_lacp_slave(const struct rte_eth_bond_8023ad_slave_info *info, FILE *f)

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#177: FILE: drivers/net/bonding/rte_eth_bond_pmd.c:3523:
+	struct rte_eth_bond_8023ad_slave_info slave_info;

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#177: FILE: drivers/net/bonding/rte_eth_bond_pmd.c:3523:
+	struct rte_eth_bond_8023ad_slave_info slave_info;

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#179: FILE: drivers/net/bonding/rte_eth_bond_pmd.c:3525:
+	uint16_t slaves[RTE_MAX_ETHPORTS];

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#180: FILE: drivers/net/bonding/rte_eth_bond_pmd.c:3526:
+	int num_active_slaves;

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#185: FILE: drivers/net/bonding/rte_eth_bond_pmd.c:3531:
+	num_active_slaves = rte_eth_bond_active_slaves_get(port_id, slaves,

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#185: FILE: drivers/net/bonding/rte_eth_bond_pmd.c:3531:
+	num_active_slaves = rte_eth_bond_active_slaves_get(port_id, slaves,

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#185: FILE: drivers/net/bonding/rte_eth_bond_pmd.c:3531:
+	num_active_slaves = rte_eth_bond_active_slaves_get(port_id, slaves,

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#187: FILE: drivers/net/bonding/rte_eth_bond_pmd.c:3533:
+	if (num_active_slaves < 0) {

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#188: FILE: drivers/net/bonding/rte_eth_bond_pmd.c:3534:
+		fprintf(f, "	Failed to get active slave list for port %u
",

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#202: FILE: drivers/net/bonding/rte_eth_bond_pmd.c:3548:
+	for (i = 0; i < num_active_slaves; i++) {

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#203: FILE: drivers/net/bonding/rte_eth_bond_pmd.c:3549:
+		ret = rte_eth_bond_8023ad_slave_info(port_id, slaves[i],

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#203: FILE: drivers/net/bonding/rte_eth_bond_pmd.c:3549:
+		ret = rte_eth_bond_8023ad_slave_info(port_id, slaves[i],

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#204: FILE: drivers/net/bonding/rte_eth_bond_pmd.c:3550:
+				&slave_info);

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#206: FILE: drivers/net/bonding/rte_eth_bond_pmd.c:3552:
+			fprintf(f, "	Get slave device %u 8023ad info failed
",

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#207: FILE: drivers/net/bonding/rte_eth_bond_pmd.c:3553:
+				slaves[i]);

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#210: FILE: drivers/net/bonding/rte_eth_bond_pmd.c:3556:
+		fprintf(f, "	Slave Port: %u
", slaves[i]);

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#211: FILE: drivers/net/bonding/rte_eth_bond_pmd.c:3557:
+		dump_lacp_slave(&slave_info, f);

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#211: FILE: drivers/net/bonding/rte_eth_bond_pmd.c:3557:
+		dump_lacp_slave(&slave_info, f);

total: 0 errors, 20 warnings, 0 checks, 155 lines checked


More information about the test-report mailing list