From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Yunjian Wang <wangyunjian@huawei.com>
Subject: |WARNING| pw114026 [PATCH] net/bonding: fix array overflow in Rx burst
Date: Mon, 18 Jul 2022 15:10:37 +0200 (CEST) [thread overview]
Message-ID: <20220718131037.9A0421231C5@dpdk.org> (raw)
In-Reply-To: <23483205275b4639324b82c1607cd867327bf783.1658146483.git.wangyunjian@huawei.com>
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
next parent reply other threads:[~2022-07-18 13:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <23483205275b4639324b82c1607cd867327bf783.1658146483.git.wangyunjian@huawei.com>
2022-07-18 13:10 ` checkpatch [this message]
2022-07-18 14:38 ` |SUCCESS| pw114026 [dpdk-dev] " 0-day Robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220718131037.9A0421231C5@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=test-report@dpdk.org \
--cc=wangyunjian@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).