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 F16B3461AF for ; Thu, 6 Feb 2025 21:48:13 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EBD62410EA; Thu, 6 Feb 2025 21:48:13 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id DCE74410E4 for ; Thu, 6 Feb 2025 21:48:12 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id 34806127003; Thu, 6 Feb 2025 21:47:01 +0100 (CET) Subject: |WARNING| pw151073 [PATCH v8 2/2] net/af_xdp: Refactor af_xdp_tx_zc In-Reply-To: <20250206204645.1564535-3-ariel.otilibili@6wind.com> References: <20250206204645.1564535-3-ariel.otilibili@6wind.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Ariel Otilibili Message-Id: <20250206204701.34806127003@dpdk.org> Date: Thu, 6 Feb 2025 21:47:01 +0100 (CET) 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/151073 _coding style issues_ WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 18) #167: FILE: drivers/net/af_xdp/rte_eth_af_xdp.c:589: if (mbuf->pool == umem->mb_pool) { + if (!(desc = reserve_and_fill(txq, mbuf, umem, NULL))) { WARNING:TABSTOP: Statements should start on a tabstop #169: FILE: drivers/net/af_xdp/rte_eth_af_xdp.c:590: + if (!(desc = reserve_and_fill(txq, mbuf, umem, NULL))) { WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (18, 32) #169: FILE: drivers/net/af_xdp/rte_eth_af_xdp.c:590: + if (!(desc = reserve_and_fill(txq, mbuf, umem, NULL))) { kick_tx(txq, cq); ERROR:ASSIGN_IN_IF: do not use assignment in if condition #169: FILE: drivers/net/af_xdp/rte_eth_af_xdp.c:590: + if (!(desc = reserve_and_fill(txq, mbuf, umem, NULL))) { ERROR:ASSIGN_IN_IF: do not use assignment in if condition #195: FILE: drivers/net/af_xdp/rte_eth_af_xdp.c:600: + if (!(local_mbuf = rte_pktmbuf_alloc(umem->mb_pool))) total: 2 errors, 3 warnings, 0 checks, 113 lines checked