|WARNING| pw126979 [PATCH v4] net/bonding: replace master/slave to main/member

checkpatch at dpdk.org checkpatch at dpdk.org
Thu May 18 10:47:07 CEST 2023


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

_coding style issues_


WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#50: 
Subject: [PATCH v4] net/bonding: replace master/slave to main/member

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#50: 
Subject: [PATCH v4] net/bonding: replace master/slave to main/member

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#126: 
This patch replaces the usage of the word 'master/slave' with more

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#126: 
This patch replaces the usage of the word 'master/slave' with more

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#133: 
rte_eth_bond_8023ad_slave_info is now called

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#135: 
rte_eth_bond_active_slaves_get is now called

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#137: 
rte_eth_bond_slave_add is now called

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#139: 
rte_eth_bond_slave_remove is now called

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#141: 
rte_eth_bond_slaves_get is now called

WARNING:TYPO_SPELLING: 'SLAVE' may be misspelled - perhaps 'SECONDARY'?
#144: 
Also the macro RTE_ETH_DEV_BONDED_SLAVE was renamed to

WARNING:TYPO_SPELLING: 'parnter' may be misspelled - perhaps 'partner'?
#5954: FILE: app/test/test_link_bonding_mode4.c:259:
+	RTE_VERIFY(member->lacp_parnter_state == 0);

WARNING:TYPO_SPELLING: 'parnter' may be misspelled - perhaps 'partner'?
#6002: FILE: app/test/test_link_bonding_mode4.c:289:
+	member->lacp_parnter_state = 0;

WARNING:TYPO_SPELLING: 'parnter' may be misspelled - perhaps 'partner'?
#6156: FILE: app/test/test_link_bonding_mode4.c:508:
+	member->lacp_parnter_state = lacp->actor.state;

WARNING:TYPO_SPELLING: 'parnter' may be misspelled - perhaps 'partner'?
#6231: FILE: app/test/test_link_bonding_mode4.c:581:
+	return member->lacp_parnter_state == expected_state;

WARNING:TYPO_SPELLING: 'parnter' may be misspelled - perhaps 'partner'?
#6860: FILE: app/test/test_link_bonding_mode4.c:1356:
+			TEST_ASSERT(member->lacp_parnter_state & STATE_EXPIRED,

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#8965: FILE: drivers/net/bonding/rte_eth_bond.h:134:
+rte_eth_bond_slave_add(uint16_t bonded_port_id, uint16_t member_port_id)

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#8988: FILE: drivers/net/bonding/rte_eth_bond.h:154:
+rte_eth_bond_slave_remove(uint16_t bonded_port_id, uint16_t member_port_id)

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#9050: FILE: drivers/net/bonding/rte_eth_bond.h:223:
+rte_eth_bond_slaves_get(uint16_t bonded_port_id, uint16_t members[],

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#9081: FILE: drivers/net/bonding/rte_eth_bond.h:248:
+rte_eth_bond_active_slaves_get(uint16_t bonded_port_id, uint16_t members[],

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#10113: FILE: drivers/net/bonding/rte_eth_bond_8023ad.h:203:
+rte_eth_bond_8023ad_slave_info(uint16_t port_id, uint16_t member_id,

WARNING:TYPO_SPELLING: 'SLAVE' may be misspelled - perhaps 'SECONDARY'?
#14770: FILE: lib/ethdev/rte_ethdev.h:2040:
+#define RTE_ETH_DEV_BONDED_SLAVE                         \

WARNING:TYPO_SPELLING: 'SLAVE' may be misspelled - perhaps 'SECONDARY'?
#14772: FILE: lib/ethdev/rte_ethdev.h:2042:
+		RTE_DEPRECATED(RTE_ETH_DEV_BONDED_SLAVE) \

total: 0 errors, 22 warnings, 13941 lines checked


More information about the test-report mailing list