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 7146845F8C for ; Wed, 1 Jan 2025 01:50:47 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 58A184021E; Wed, 1 Jan 2025 01:50:47 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 01F6E40151 for ; Wed, 1 Jan 2025 01:50:46 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id 9A2C2126FB8; Wed, 1 Jan 2025 01:50:17 +0100 (CET) Subject: |WARNING| pw149560 [PATCH v8 3/3] drivers/net: add diagnostics macros to make code portable In-Reply-To: <1735692511-4196-4-git-send-email-andremue@linux.microsoft.com> References: <1735692511-4196-4-git-send-email-andremue@linux.microsoft.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Andre Muezerie Message-Id: <20250101005017.9A2C2126FB8@dpdk.org> Date: Wed, 1 Jan 2025 01:50:17 +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/149560 _coding style issues_ WARNING:AVOID_EXTERNS: externs should be avoided in .c files #225: FILE: drivers/net/fm10k/fm10k_rxtx_vec.c:473: +__rte_diagnostic_pop WARNING:AVOID_EXTERNS: externs should be avoided in .c files #400: FILE: drivers/net/i40e/i40e_rxtx_vec_altivec.c:296: +__rte_diagnostic_pop WARNING:AVOID_EXTERNS: externs should be avoided in .c files #720: FILE: drivers/net/i40e/i40e_rxtx_vec_sse.c:473: +__rte_diagnostic_pop WARNING:AVOID_EXTERNS: externs should be avoided in .c files #1099: FILE: drivers/net/iavf/iavf_rxtx_vec_sse.c:586: +__rte_diagnostic_pop WARNING:AVOID_EXTERNS: externs should be avoided in .c files #1134: 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) #1277: 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) #1349: 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 #1448: 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) #1468: 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 #1607: 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 #1717: 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) #1741: 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, 1439 lines checked