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 69B66A04B7 for ; Wed, 14 Oct 2020 10:45:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4D68A1DD15; Wed, 14 Oct 2020 10:45:01 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id A7F5B1DD52; Wed, 14 Oct 2020 10:44:58 +0200 (CEST) In-Reply-To: <20201014084131.72035-5-simonx.lu@intel.com> References: <20201014084131.72035-5-simonx.lu@intel.com> To: test-report@dpdk.org Cc: SimonX Lu Message-Id: <20201014084458.A7F5B1DD52@dpdk.org> Date: Wed, 14 Oct 2020 10:44:58 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw80690 [PATCH v1 4/8] net/ixgbe: 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/80690 _coding style issues_ WARNING:TYPO_SPELLING: 'paser' may be misspelled - perhaps 'parser'? #45: Subject: [dpdk-dev] [PATCH v1 4/8] net/ixgbe: define the mirror filter paser CHECK:MACRO_ARG_REUSE: Macro argument reuse 'act' - possible side-effects? #81: FILE: drivers/net/ixgbe/ixgbe_flow.c:52: +#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? #81: FILE: drivers/net/ixgbe/ixgbe_flow.c:52: +#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? #81: FILE: drivers/net/ixgbe/ixgbe_flow.c:52: +#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? #90: FILE: drivers/net/ixgbe/ixgbe_flow.c:61: +#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, 263 lines checked