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 3292542BDE for ; Sun, 4 Jun 2023 02:06:25 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3095440EE7; Sun, 4 Jun 2023 02:06:25 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 3899140EE7 for ; Sun, 4 Jun 2023 02:06:24 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 26DFD12092A; Sun, 4 Jun 2023 02:06:24 +0200 (CEST) Subject: |WARNING| pw128010 [PATCH v2 21/34] common/sfc_efx/base: provide an API to clone MAE match specs In-Reply-To: <20230604000051.7877-22-ivan.malov@arknetworks.am> References: <20230604000051.7877-22-ivan.malov@arknetworks.am> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Ivan Malov Message-Id: <20230604000624.26DFD12092A@dpdk.org> Date: Sun, 4 Jun 2023 02:06:24 +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/128010 _coding style issues_ ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required #98: FILE: drivers/common/sfc_efx/base/efx_mae.c:1168: + return (rc); WARNING:SPACING: space prohibited between function name and open parenthesis '(' #110: FILE: drivers/common/sfc_efx/base/efx_mae.c:1180: + EFSYS_KMEM_ALLOC(enp->en_esip, sizeof (*clone), clone); WARNING:SPACING: space prohibited between function name and open parenthesis '(' #116: FILE: drivers/common/sfc_efx/base/efx_mae.c:1186: + memcpy(clone, orig, sizeof (efx_mae_match_spec_t)); ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required #120: FILE: drivers/common/sfc_efx/base/efx_mae.c:1190: + return (0); total: 2 errors, 2 warnings, 52 lines checked