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 584354660E for ; Wed, 23 Apr 2025 18:07:20 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 54939402AF; Wed, 23 Apr 2025 18:07:20 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 27EE74025E for ; Wed, 23 Apr 2025 18:07:19 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id A90CB1251C3; Wed, 23 Apr 2025 18:06:50 +0200 (CEST) Subject: |WARNING| pw153117 [PATCH v2 34/45] common/sfc_efx/base: support MAC statistics on Medford4 NICs In-Reply-To: <20250423160002.35706-35-ivan.malov@arknetworks.am> References: <20250423160002.35706-35-ivan.malov@arknetworks.am> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Ivan Malov Message-Id: <20250423160650.A90CB1251C3@dpdk.org> Date: Wed, 23 Apr 2025 18:06:50 +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/153117 _coding style issues_ WARNING:SPACING: space prohibited between function name and open parenthesis '(' #203: FILE: drivers/common/sfc_efx/base/efx_np.c:1311: + sz = encp->enc_mac_stats_nstats * sizeof (efx_qword_t); ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required #239: FILE: drivers/common/sfc_efx/base/efx_np.c:1347: + return (rc); WARNING:TYPO_SPELLING: 'inout' may be misspelled - perhaps 'input'? #270: FILE: drivers/common/sfc_efx/base/medford4_impl.h:86: + __inout_ecount(EFX_MAC_NSTATS) efsys_stat_t *stats, WARNING:TYPO_SPELLING: 'inout' may be misspelled - perhaps 'input'? #271: FILE: drivers/common/sfc_efx/base/medford4_impl.h:87: + __inout_opt uint32_t *generationp); ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required #297: FILE: drivers/common/sfc_efx/base/medford4_mac.c:136: + return (0); ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required #301: FILE: drivers/common/sfc_efx/base/medford4_mac.c:140: + return (rc); ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required #328: FILE: drivers/common/sfc_efx/base/medford4_mac.c:167: + return (0); ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required #332: FILE: drivers/common/sfc_efx/base/medford4_mac.c:171: + return (rc); WARNING:SPACING: space prohibited between function name and open parenthesis '(' #336: FILE: drivers/common/sfc_efx/base/medford4_mac.c:175: + EFSYS_MEM_READQ((_esmp), (_field) * sizeof (efx_qword_t), _eqp) WARNING:TYPO_SPELLING: 'inout' may be misspelled - perhaps 'input'? #342: FILE: drivers/common/sfc_efx/base/medford4_mac.c:181: + __inout_ecount(EFX_MAC_NSTATS) efsys_stat_t *stats, WARNING:TYPO_SPELLING: 'inout' may be misspelled - perhaps 'input'? #343: FILE: drivers/common/sfc_efx/base/medford4_mac.c:182: + __inout_opt uint32_t *generationp) WARNING:SPACING: space prohibited between function name and open parenthesis '(' #353: FILE: drivers/common/sfc_efx/base/medford4_mac.c:192: + (encp->enc_mac_stats_nstats * sizeof (efx_qword_t))) { WARNING:SPACING: space prohibited between function name and open parenthesis '(' #388: FILE: drivers/common/sfc_efx/base/medford4_mac.c:227: + sizeof (generation_start)) != 0) WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EAGAIN) #389: FILE: drivers/common/sfc_efx/base/medford4_mac.c:228: + return (EAGAIN); ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required #394: FILE: drivers/common/sfc_efx/base/medford4_mac.c:233: + return (0); ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required #398: FILE: drivers/common/sfc_efx/base/medford4_mac.c:237: + return (rc); total: 7 errors, 9 warnings, 292 lines checked