From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 97CA1A0032 for ; Mon, 18 Jul 2022 15:10:38 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 912DA4069F; Mon, 18 Jul 2022 15:10:38 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id A3C1340041 for ; Mon, 18 Jul 2022 15:10:37 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 9A0421231C5; Mon, 18 Jul 2022 15:10:37 +0200 (CEST) Subject: |WARNING| pw114026 [PATCH] net/bonding: fix array overflow in Rx burst In-Reply-To: <23483205275b4639324b82c1607cd867327bf783.1658146483.git.wangyunjian@huawei.com> References: <23483205275b4639324b82c1607cd867327bf783.1658146483.git.wangyunjian@huawei.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Yunjian Wang Message-Id: <20220718131037.9A0421231C5@dpdk.org> Date: Mon, 18 Jul 2022 15:10:37 +0200 (CEST) X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org 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