From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id C09C27CBF; Mon, 12 Jun 2017 08:58:49 +0200 (CEST) In-Reply-To: <1497250108-34752-9-git-send-email-wei.zhao1@intel.com> References: <1497250108-34752-9-git-send-email-wei.zhao1@intel.com> To: test-report@dpdk.org Cc: zhao wei Message-Id: <20170612065849.C09C27CBF@dpdk.org> Date: Mon, 12 Jun 2017 08:58:49 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw25262 [PATCH v5 08/11] net/e1000: parse flex filter 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, 12 Jun 2017 06:58:50 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/25262 _coding style issues_ WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #32: FILE: drivers/net/e1000/e1000_ethdev.h:153: +#define MAC_TYPE_FILTER_SUP_EXT(type) do {\ + if ((type) != e1000_82580 && (type) != e1000_i350 &&\ + (type) != e1000_i210 && (type) != e1000_i211)\ + return -ENOTSUP; \ +} while (0) total: 0 errors, 1 warnings, 0 checks, 308 lines checked