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 E9E20A04B7 for ; Wed, 14 Oct 2020 10:46:48 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E3EF91DD25; Wed, 14 Oct 2020 10:46:47 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id 5AABC1DD15; Wed, 14 Oct 2020 10:46:47 +0200 (CEST) In-Reply-To: <20201014084131.72035-8-simonx.lu@intel.com> References: <20201014084131.72035-8-simonx.lu@intel.com> To: test-report@dpdk.org Cc: SimonX Lu Message-Id: <20201014084647.5AABC1DD15@dpdk.org> Date: Wed, 14 Oct 2020 10:46:47 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw80693 [PATCH v1 7/8] net/i40e: define the mirror filter paser 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/80693 _coding style issues_ WARNING:TYPO_SPELLING: 'paser' may be misspelled - perhaps 'parser'? #45: Subject: [dpdk-dev] [PATCH v1 7/8] net/i40e: define the mirror filter paser CHECK:MACRO_ARG_REUSE: Macro argument reuse 'act' - possible side-effects? #88: FILE: drivers/net/i40e/i40e_flow.c:1871: +#define NEXT_ITEM_OF_ACTION(act, actions, index) \ + do { \ + act = (actions) + (index); \ + while (act->type == RTE_FLOW_ACTION_TYPE_VOID) { \ + (index)++; \ + act = (actions) + (index); \ + } \ } while (0) CHECK:MACRO_ARG_REUSE: Macro argument reuse 'actions' - possible side-effects? #88: FILE: drivers/net/i40e/i40e_flow.c:1871: +#define NEXT_ITEM_OF_ACTION(act, actions, index) \ + do { \ + act = (actions) + (index); \ + while (act->type == RTE_FLOW_ACTION_TYPE_VOID) { \ + (index)++; \ + act = (actions) + (index); \ + } \ } while (0) CHECK:MACRO_ARG_REUSE: Macro argument reuse 'index' - possible side-effects? #88: FILE: drivers/net/i40e/i40e_flow.c:1871: +#define NEXT_ITEM_OF_ACTION(act, actions, index) \ + do { \ + act = (actions) + (index); \ + while (act->type == RTE_FLOW_ACTION_TYPE_VOID) { \ + (index)++; \ + act = (actions) + (index); \ + } \ } while (0) CHECK:MACRO_ARG_REUSE: Macro argument reuse 'vlan_item' - possible side-effects? #97: FILE: drivers/net/i40e/i40e_flow.c:1880: +#define GET_VLAN_ID_FROM_TCI(vlan_item, default_vid) \ + ((vlan_item) ? ntohs(vlan_item->tci) & 0x0fff : (default_vid)) total: 0 errors, 1 warnings, 4 checks, 277 lines checked