From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5E5DAA0471 for ; Mon, 9 Sep 2019 14:00:41 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 82FCD1ED7D; Mon, 9 Sep 2019 14:00:39 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id 97DA61ECE9; Mon, 9 Sep 2019 14:00:37 +0200 (CEST) In-Reply-To: <1568030331-16526-5-git-send-email-arybchenko@solarflare.com> References: <1568030331-16526-5-git-send-email-arybchenko@solarflare.com> To: test-report@dpdk.org Cc: Andrew Rybchenko Message-Id: <20190909120037.97DA61ECE9@dpdk.org> Date: Mon, 9 Sep 2019 14:00:37 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw59004 [PATCH v2 04/13] ethdev: change promiscuous callbacks to return status X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.15 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/59004 _coding style issues_ CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #1299: FILE: drivers/net/i40e/i40e_vf_representor.c:282: + return rte_pmd_i40e_set_vf_unicast_promisc( CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #1311: FILE: drivers/net/i40e/i40e_vf_representor.c:292: + return rte_pmd_i40e_set_vf_unicast_promisc( WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #2073: FILE: drivers/net/netvsc/hn_vf.c:366: +#define VF_ETHDEV_FUNC_RET_STATUS(dev, func) \ + { \ + struct hn_data *hv = (dev)->data->dev_private; \ + struct rte_eth_dev *vf_dev; \ + int ret = 0; \ + rte_spinlock_lock(&hv->vf_lock); \ + vf_dev = hn_get_vf_dev(hv); \ + if (vf_dev) \ + ret = func(vf_dev->data->port_id); \ + rte_spinlock_unlock(&hv->vf_lock); \ + return ret; \ + } total: 0 errors, 1 warnings, 2301 lines checked