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 3D70945F5F for ; Sat, 28 Dec 2024 04:20:36 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 35411402C8; Sat, 28 Dec 2024 04:20:36 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 0EDB640280 for ; Sat, 28 Dec 2024 04:20:35 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id 41C75126FB8; Sat, 28 Dec 2024 04:20:11 +0100 (CET) Subject: |WARNING| pw149507 [PATCH v3 3/3] drivers/net: add diagnostics macros to make code portable In-Reply-To: <1735355910-1175-4-git-send-email-andremue@linux.microsoft.com> References: <1735355910-1175-4-git-send-email-andremue@linux.microsoft.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Andre Muezerie Message-Id: <20241228032011.41C75126FB8@dpdk.org> Date: Sat, 28 Dec 2024 04:20:11 +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/149507 _coding style issues_ WARNING:AVOID_EXTERNS: externs should be avoided in .c files #224: FILE: drivers/net/fm10k/fm10k_rxtx_vec.c:473: +__rte_diagnostic_pop WARNING:AVOID_EXTERNS: externs should be avoided in .c files #375: FILE: drivers/net/i40e/i40e_rxtx_vec_altivec.c:290: +__rte_diagnostic_pop WARNING:AVOID_EXTERNS: externs should be avoided in .c files #655: FILE: drivers/net/i40e/i40e_rxtx_vec_sse.c:473: +__rte_diagnostic_pop WARNING:AVOID_EXTERNS: externs should be avoided in .c files #987: FILE: drivers/net/iavf/iavf_rxtx_vec_sse.c:586: +__rte_diagnostic_pop WARNING:AVOID_EXTERNS: externs should be avoided in .c files #1022: 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) #1141: 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) #1213: 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 #1312: 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) #1332: 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 #1446: 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 #1556: 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) #1580: 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, 1296 lines checked