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 25CD445F8C for ; Wed, 1 Jan 2025 04:38:13 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1BB24402AB; Wed, 1 Jan 2025 04:38:13 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id AD2BE4021E for ; Wed, 1 Jan 2025 04:38:11 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id 38E4F126FB8; Wed, 1 Jan 2025 04:37:43 +0100 (CET) Subject: |WARNING| pw149562 [PATCH v9 3/3] drivers/net: add diagnostics macros to make code portable In-Reply-To: <1735702586-24837-4-git-send-email-andremue@linux.microsoft.com> References: <1735702586-24837-4-git-send-email-andremue@linux.microsoft.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Andre Muezerie Message-Id: <20250101033743.38E4F126FB8@dpdk.org> Date: Wed, 1 Jan 2025 04:37:43 +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/149562 _coding style issues_ WARNING:AVOID_EXTERNS: externs should be avoided in .c files #227: FILE: drivers/net/fm10k/fm10k_rxtx_vec.c:473: +__rte_diagnostic_pop WARNING:AVOID_EXTERNS: externs should be avoided in .c files #402: FILE: drivers/net/i40e/i40e_rxtx_vec_altivec.c:296: +__rte_diagnostic_pop WARNING:AVOID_EXTERNS: externs should be avoided in .c files #722: FILE: drivers/net/i40e/i40e_rxtx_vec_sse.c:473: +__rte_diagnostic_pop WARNING:AVOID_EXTERNS: externs should be avoided in .c files #1101: FILE: drivers/net/iavf/iavf_rxtx_vec_sse.c:586: +__rte_diagnostic_pop WARNING:AVOID_EXTERNS: externs should be avoided in .c files #1136: FILE: drivers/net/iavf/iavf_rxtx_vec_sse.c:878: +__rte_diagnostic_pop WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (24, 0) #1279: FILE: drivers/net/ice/ice_rxtx_vec_avx2.c:443: if (rxq->vsi->adapter->pf.dev_data->dev_conf.rxmode.offloads & [...] +__rte_diagnostic_push WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (24, 0) #1351: FILE: drivers/net/ice/ice_rxtx_vec_avx512.c:473: if (rxq->vsi->adapter->pf.dev_data->dev_conf.rxmode.offloads & [...] +__rte_diagnostic_push WARNING:AVOID_EXTERNS: externs should be avoided in .c files #1450: FILE: drivers/net/ice/ice_rxtx_vec_sse.c:433: +__rte_diagnostic_pop WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 0) #1470: FILE: drivers/net/ice/ice_rxtx_vec_sse.c:497: if (rxq->vsi->adapter->pf.dev_data->dev_conf.rxmode.offloads & [...] +__rte_diagnostic_push WARNING:AVOID_EXTERNS: externs should be avoided in .c files #1637: FILE: drivers/net/ixgbe/ixgbe_rxtx_vec_sse.c:474: +__rte_diagnostic_pop ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line #1747: FILE: drivers/net/mlx5/mlx5_rxtx_vec_sse.h:133: +__rte_diagnostic_pop for (pos = 0; pos < mcqe_n; ) { WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (24, 0) #1771: FILE: drivers/net/mlx5/mlx5_rxtx_vec_sse.h:359: if (!(pos & 0x7) && pos < mcqe_n) { +__rte_diagnostic_push total: 1 errors, 11 warnings, 0 checks, 1535 lines checked