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 29A0F45B3D for ; Tue, 15 Oct 2024 07:51:43 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1E54B4027C; Tue, 15 Oct 2024 07:51:43 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 2296C40270 for ; Tue, 15 Oct 2024 07:51:41 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id B6C8A120757; Tue, 15 Oct 2024 07:51:40 +0200 (CEST) Subject: |WARNING| pw145956 [PATCH v5 9/9] net/zxdh: add zxdh dev configure ops In-Reply-To: <20241015054435.1751245-8-wang.junlong1@zte.com.cn> References: <20241015054435.1751245-8-wang.junlong1@zte.com.cn> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Junlong Wang Message-Id: <20241015055140.B6C8A120757@dpdk.org> Date: Tue, 15 Oct 2024 07:51:40 +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/145956 _coding style issues_ CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'buff_size != 0' #178: FILE: drivers/net/zxdh/zxdh_common.c:313: + if ((buff_size != 0) && (buff == NULL)) { CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'buff == NULL' #178: FILE: drivers/net/zxdh/zxdh_common.c:313: + if ((buff_size != 0) && (buff == NULL)) { CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'rxmode->mq_mode != RTE_ETH_MQ_RX_RSS' #664: FILE: drivers/net/zxdh/zxdh_ethdev.c:764: + if ((rxmode->mq_mode != RTE_ETH_MQ_RX_RSS) && (rxmode->mq_mode != RTE_ETH_MQ_RX_NONE)) { CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'rxmode->mq_mode != RTE_ETH_MQ_RX_NONE' #664: FILE: drivers/net/zxdh/zxdh_ethdev.c:764: + if ((rxmode->mq_mode != RTE_ETH_MQ_RX_RSS) && (rxmode->mq_mode != RTE_ETH_MQ_RX_NONE)) { CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'rxmode->mq_mode != RTE_ETH_MQ_RX_RSS' #673: FILE: drivers/net/zxdh/zxdh_ethdev.c:773: + if ((rxmode->mq_mode != RTE_ETH_MQ_RX_RSS) && (rxmode->mq_mode != RTE_ETH_MQ_RX_NONE)) { CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'rxmode->mq_mode != RTE_ETH_MQ_RX_NONE' #673: FILE: drivers/net/zxdh/zxdh_ethdev.c:773: + if ((rxmode->mq_mode != RTE_ETH_MQ_RX_RSS) && (rxmode->mq_mode != RTE_ETH_MQ_RX_NONE)) { WARNING:TYPO_SPELLING: 'que' may be misspelled - perhaps 'queue'? #700: FILE: drivers/net/zxdh/zxdh_ethdev.c:800: + /*no que changed */ WARNING:TYPO_SPELLING: 'que' may be misspelled - perhaps 'queue'? #704: FILE: drivers/net/zxdh/zxdh_ethdev.c:804: + PMD_DRV_LOG(DEBUG, "que changed need reset "); total: 0 errors, 2 warnings, 6 checks, 1212 lines checked Please use __rte_aligned only for struct or union types alignment.