* |WARNING| pw114026 [PATCH] net/bonding: fix array overflow in Rx burst
[not found] <23483205275b4639324b82c1607cd867327bf783.1658146483.git.wangyunjian@huawei.com>
@ 2022-07-18 13:10 ` checkpatch
2022-07-18 14:38 ` |SUCCESS| pw114026 [dpdk-dev] " 0-day Robot
1 sibling, 0 replies; 2+ messages in thread
From: checkpatch @ 2022-07-18 13:10 UTC (permalink / raw)
To: test-report; +Cc: Yunjian Wang
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
^ permalink raw reply [flat|nested] 2+ messages in thread