|WARNING| pw120448 [PATCH 2/2] net/bonding: support dump LACP info

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Dec 5 09:18:03 CET 2022


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

_coding style issues_


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

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

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

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

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

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

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

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

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#183: FILE: drivers/net/bonding/rte_eth_bond_pmd.c:3529:
+	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:
+	if (num_active_slaves < 0) {

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

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

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

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

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

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

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

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

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

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

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


More information about the test-report mailing list