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 EF2CB4660E for ; Wed, 23 Apr 2025 18:08:09 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EBECB402AF; Wed, 23 Apr 2025 18:08:09 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 9A43D4025E for ; Wed, 23 Apr 2025 18:08:08 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 416211251C3; Wed, 23 Apr 2025 18:07:40 +0200 (CEST) Subject: |WARNING| pw153106 [PATCH v2 23/45] common/sfc_efx/base: get netport fixed capabilities on probe In-Reply-To: <20250423160002.35706-24-ivan.malov@arknetworks.am> References: <20250423160002.35706-24-ivan.malov@arknetworks.am> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Ivan Malov Message-Id: <20250423160740.416211251C3@dpdk.org> Date: Wed, 23 Apr 2025 18:07:40 +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/153106 _coding style issues_ ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required #126: FILE: drivers/common/sfc_efx/base/efx_np.c:81: + return (rc); ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #227: FILE: drivers/common/sfc_efx/base/efx_np.c:182: +#define FOREACH_SUP_CAP(_map, _map_nentries, _data, _data_nbytes) \ + for (unsigned int _i = 0; _i < (_map_nentries); ++_i, ++(_map)) \ + if (CAP_VLD(_map, _data_nbytes) && CAP_SUP(_map, _data)) ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required #316: FILE: drivers/common/sfc_efx/base/efx_np.c:271: + return (0); total: 3 errors, 0 warnings, 256 lines checked