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 948C6465A9 for ; Wed, 16 Apr 2025 16:04:12 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 86AAC40E72; Wed, 16 Apr 2025 16:04:12 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 19EC640E3B for ; Wed, 16 Apr 2025 16:04:11 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id EE944123F9E; Wed, 16 Apr 2025 16:03:50 +0200 (CEST) Subject: |WARNING| pw152971 [PATCH 24/46] common/sfc_efx/base: get netport fixed capabilities on probe In-Reply-To: <20250416140016.36127-25-ivan.malov@arknetworks.am> References: <20250416140016.36127-25-ivan.malov@arknetworks.am> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Ivan Malov Message-Id: <20250416140350.EE944123F9E@dpdk.org> Date: Wed, 16 Apr 2025 16:03: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/152971 _coding style issues_ ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required #124: FILE: drivers/common/sfc_efx/base/efx_np.c:81: + return (rc); ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #225: 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 #314: FILE: drivers/common/sfc_efx/base/efx_np.c:271: + return (0); total: 3 errors, 0 warnings, 256 lines checked