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 7CD43A04B1 for ; Wed, 9 Sep 2020 01:58:37 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 724C41B9B7; Wed, 9 Sep 2020 01:58:37 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id 1E60A1B9B7; Wed, 9 Sep 2020 01:58:36 +0200 (CEST) In-Reply-To: <20200908201830.74206-35-cristian.dumitrescu@intel.com> References: <20200908201830.74206-35-cristian.dumitrescu@intel.com> To: test-report@dpdk.org Cc: Cristian Dumitrescu Message-Id: <20200908235836.1E60A1B9B7@dpdk.org> Date: Wed, 9 Sep 2020 01:58:36 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw76967 [PATCH v3 34/41] port: add source and sink SWX ports 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/76967 _coding style issues_ WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #133: FILE: lib/librte_port/rte_swx_port_source_sink.c:18: +#define CHECK(condition) \ +do { \ + if (!(condition)) \ + return NULL; \ +} while (0) total: 0 errors, 1 warnings, 416 lines checked