From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id 5251A2BB9; Mon, 12 Jun 2017 08:41:36 +0200 (CEST) In-Reply-To: <1497249016-33565-10-git-send-email-wei.zhao1@intel.com> References: <1497249016-33565-10-git-send-email-wei.zhao1@intel.com> To: test-report@dpdk.org Cc: zhao wei Message-Id: <20170612064136.5251A2BB9@dpdk.org> Date: Mon, 12 Jun 2017 08:41:36 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw25251 [PATCH v4 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:41:36 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/25251 _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 -ENOSYS; \ +} while (0) WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else #35: FILE: drivers/net/e1000/e1000_ethdev.h:156: + return -ENOSYS; \ total: 0 errors, 2 warnings, 0 checks, 308 lines checked