From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id 434E769C5; Mon, 13 Feb 2017 08:41:09 +0100 (CET) In-Reply-To: <1486971303-59678-1-git-send-email-wei.zhao1@intel.com> References: <1486971303-59678-1-git-send-email-wei.zhao1@intel.com> To: test-report@dpdk.org Cc: Wei Zhao Message-Id: <20170213074109.434E769C5@dpdk.org> Date: Mon, 13 Feb 2017 08:41:09 +0100 (CET) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw20383 [PATCH 1/2] net/ixgbe: move ixgbe 2 mac type check macro 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, 13 Feb 2017 07:41:09 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/20383 _coding style issues_ WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #88: FILE: drivers/net/ixgbe/ixgbe_ethdev.h:142: +#define MAC_TYPE_FILTER_SUP_EXT(type) do {\ + if ((type) != ixgbe_mac_82599EB && (type) != ixgbe_mac_X540)\ + return -ENOTSUP;\ +} while (0) WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #93: FILE: drivers/net/ixgbe/ixgbe_ethdev.h:147: +#define MAC_TYPE_FILTER_SUP(type) do {\ + if ((type) != ixgbe_mac_82599EB && (type) != ixgbe_mac_X540 &&\ + (type) != ixgbe_mac_X550 && (type) != ixgbe_mac_X550EM_x &&\ + (type) != ixgbe_mac_X550EM_a)\ + return -ENOTSUP;\ +} while (0) total: 0 errors, 2 warnings, 0 checks, 42 lines checked