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 03DFFA0A0C for ; Thu, 15 Apr 2021 09:10:44 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E80B8162075; Thu, 15 Apr 2021 09:10:44 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id EC20616206F for ; Thu, 15 Apr 2021 09:10:43 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id C60471209EC; Thu, 15 Apr 2021 09:10:43 +0200 (CEST) In-Reply-To: <1618470594-64612-1-git-send-email-humin29@huawei.com> References: <1618470594-64612-1-git-send-email-humin29@huawei.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: "Min Hu (Connor)" Message-Id: <20210415071043.C60471209EC@dpdk.org> Date: Thu, 15 Apr 2021 09:10:43 +0200 (CEST) Subject: [dpdk-test-report] |WARNING| pw91545 [PATCH] net/bonding: fix add bonded device itself as its slave 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 Sender: "test-report" Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/91545 _coding style issues_ WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #52: Adding the bond device as its own slave should be forbidden. This WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #59: testpmd> add bonding slave 4 4 WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #70: 0x000000000052730c in cmd_add_bonding_slave_parsed () WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #98: FILE: drivers/net/bonding/eth_bond_private.h:215: +valid_slave_port_id(struct bond_dev_private *internals, uint16_t port_id); WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #111: FILE: drivers/net/bonding/rte_eth_bond_api.c:59: +valid_slave_port_id(struct bond_dev_private *internals, uint16_t slave_port_id) WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #111: FILE: drivers/net/bonding/rte_eth_bond_api.c:59: +valid_slave_port_id(struct bond_dev_private *internals, uint16_t slave_port_id) WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #114: FILE: drivers/net/bonding/rte_eth_bond_api.c:61: + RTE_ETH_VALID_PORTID_OR_ERR_RET(slave_port_id, -1); WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #119: FILE: drivers/net/bonding/rte_eth_bond_api.c:63: + /* Verify that slave_port_id refers to a non bonded port */ WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #120: FILE: drivers/net/bonding/rte_eth_bond_api.c:64: + if (check_for_bonded_ethdev(&rte_eth_devices[slave_port_id]) == 0 && WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #128: FILE: drivers/net/bonding/rte_eth_bond_api.c:72: + if (internals->port_id == slave_port_id) { WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #130: FILE: drivers/net/bonding/rte_eth_bond_api.c:74: + "Cannot add the bonded device itself as its slave."); WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #142: FILE: drivers/net/bonding/rte_eth_bond_api.c:465: + if (valid_slave_port_id(internals, slave_port_id) != 0) WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #142: FILE: drivers/net/bonding/rte_eth_bond_api.c:465: + if (valid_slave_port_id(internals, slave_port_id) != 0) WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #157: FILE: drivers/net/bonding/rte_eth_bond_api.c:620: + if (valid_slave_port_id(internals, slave_port_id) != 0) WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #157: FILE: drivers/net/bonding/rte_eth_bond_api.c:620: + if (valid_slave_port_id(internals, slave_port_id) != 0) WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #168: FILE: drivers/net/bonding/rte_eth_bond_api.c:646: + if (valid_slave_port_id(internals, slave_port_id) < 0) WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #168: FILE: drivers/net/bonding/rte_eth_bond_api.c:646: + if (valid_slave_port_id(internals, slave_port_id) < 0) WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #177: FILE: drivers/net/bonding/rte_eth_bond_api.c:794: + if (valid_slave_port_id(internals, slave_port_id) != 0) WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #177: FILE: drivers/net/bonding/rte_eth_bond_api.c:794: + if (valid_slave_port_id(internals, slave_port_id) != 0) total: 0 errors, 19 warnings, 0 checks, 78 lines checked