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 D94B1A04B5 for ; Thu, 1 Oct 2020 12:35:21 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A29791DBB3; Thu, 1 Oct 2020 12:35:20 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id 8A61E1DBB2; Thu, 1 Oct 2020 12:35:19 +0200 (CEST) In-Reply-To: <20201001102010.36861-36-cristian.dumitrescu@intel.com> References: <20201001102010.36861-36-cristian.dumitrescu@intel.com> To: test-report@dpdk.org Cc: Cristian Dumitrescu Message-Id: <20201001103519.8A61E1DBB2@dpdk.org> Date: Thu, 1 Oct 2020 12:35:19 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw79452 [PATCH v7 35/42] table: add exact match SWX table 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/79452 _coding style issues_ WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #118: FILE: lib/librte_table/rte_swx_table_em.c:14: +#define CHECK(condition, err_code) \ +do { \ + if (!(condition)) \ + return -(err_code); \ +} while (0) total: 0 errors, 1 warnings, 909 lines checked