|WARNING| pw114026 [PATCH] net/bonding: fix array overflow in Rx burst

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Jul 18 15:10:37 CEST 2022


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

_coding style issues_


WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#61: 
'active_slave' as this code:

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#62: 
if (++active_slave == slave_count)

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#62: 
if (++active_slave == slave_count)

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#63: 
	active_slave = 0;

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#64: 
However, the value of 'active_slave' maybe equal to 'slave_count',

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#64: 
However, the value of 'active_slave' maybe equal to 'slave_count',

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#65: 
when a slave is down. This is wrong and it can cause buffer overflow.

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#68: 
Fixes: e1110e977648 ("net/bonding: fix Rx slave fairness")

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#86: FILE: drivers/net/bonding/rte_eth_bond_pmd.c:85:
+		if (++active_slave >= slave_count)

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#86: FILE: drivers/net/bonding/rte_eth_bond_pmd.c:85:
+		if (++active_slave >= slave_count)

total: 0 errors, 10 warnings, 0 checks, 8 lines checked


More information about the test-report mailing list