From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id 0C6762C3F; Mon, 29 May 2017 17:27:49 +0200 (CEST) In-Reply-To: <1496071373-21907-1-git-send-email-radu.nicolau@intel.com> References: <1496071373-21907-1-git-send-email-radu.nicolau@intel.com> To: test-report@dpdk.org Cc: Radu Nicolau Message-Id: <20170529152749.0C6762C3F@dpdk.org> Date: Mon, 29 May 2017 17:27:49 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw24874 [PATCH v2] ethdev: moved bypass functions to ixgbe pmd 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: , X-List-Received-Date: Mon, 29 May 2017 15:27:49 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/24874 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'x' - possible side-effects? #936: FILE: drivers/net/ixgbe/rte_pmd_ixgbe.h:628: +#define RTE_PMD_IXGBE_BYPASS_MODE_VALID(x) \ + ((x) > RTE_PMD_IXGBE_BYPASS_MODE_NONE && \ + (x) < RTE_PMD_IXGBE_BYPASS_MODE_NUM) CHECK:MACRO_ARG_REUSE: Macro argument reuse 'x' - possible side-effects? #951: FILE: drivers/net/ixgbe/rte_pmd_ixgbe.h:643: +#define RTE_PMD_IXGBE_BYPASS_EVENT_VALID(x) \ + ((x) > RTE_PMD_IXGBE_BYPASS_EVENT_NONE && \ + (x) < RTE_PMD_IXGBE_BYPASS_MODE_NUM) CHECK:MACRO_ARG_REUSE: Macro argument reuse 'x' - possible side-effects? #967: FILE: drivers/net/ixgbe/rte_pmd_ixgbe.h:659: +#define RTE_PMD_IXGBE_BYPASS_TMT_VALID(x) \ + ((x) == RTE_PMD_IXGBE_BYPASS_TMT_OFF || \ + ((x) > RTE_PMD_IXGBE_BYPASS_TMT_OFF && \ + (x) < RTE_PMD_IXGBE_BYPASS_TMT_NUM)) total: 0 errors, 0 warnings, 1249 lines checked