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 916A3A054F for ; Tue, 16 Mar 2021 07:17:18 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8CCD32427E0; Tue, 16 Mar 2021 07:17:18 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mails.dpdk.org (Postfix) with ESMTP id 6DD2440042 for ; Tue, 16 Mar 2021 07:17:16 +0100 (CET) Received: by dpdk.org (Postfix, from userid 1017) id 988672BF7; Tue, 16 Mar 2021 07:17:15 +0100 (CET) In-Reply-To: <20210316061544.861619-5-andrew.rybchenko@oktetlabs.ru> References: <20210316061544.861619-5-andrew.rybchenko@oktetlabs.ru> To: test-report@dpdk.org Cc: Andrew Rybchenko Message-Id: <20210316061715.988672BF7@dpdk.org> Date: Tue, 16 Mar 2021 07:17:15 +0100 (CET) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw89178 [PATCH v3 4/8] common/sfc_efx/base: add support to get virtio features 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 Sender: "test-report" Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/89178 _coding style issues_ WARNING:FUNCTION_ARGUMENTS: function definition argument 'efx_nic_t *' should also have an identifier name #113: FILE: drivers/common/sfc_efx/base/efx_impl.h:321: + efx_rc_t (*evo_get_features)(efx_nic_t *, WARNING:FUNCTION_ARGUMENTS: function definition argument 'efx_virtio_device_type_t' should also have an identifier name #113: FILE: drivers/common/sfc_efx/base/efx_impl.h:321: + efx_rc_t (*evo_get_features)(efx_nic_t *, WARNING:FUNCTION_ARGUMENTS: function definition argument 'uint64_t *' should also have an identifier name #113: FILE: drivers/common/sfc_efx/base/efx_impl.h:321: + efx_rc_t (*evo_get_features)(efx_nic_t *, ERROR:ASSIGN_IN_IF: do not use assignment in if condition #161: FILE: drivers/common/sfc_efx/base/efx_virtio.c:285: + if ((rc = evop->evo_get_features(enp, type, featuresp)) != 0) ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required #164: FILE: drivers/common/sfc_efx/base/efx_virtio.c:288: + return (0); ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required #175: FILE: drivers/common/sfc_efx/base/efx_virtio.c:299: + return (rc); ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required #247: FILE: drivers/common/sfc_efx/base/rhead_virtio.c:325: + return (0); ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required #254: FILE: drivers/common/sfc_efx/base/rhead_virtio.c:332: + return (rc); total: 5 errors, 3 warnings, 158 lines checked