From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 0F3F5A00E6 for ; Thu, 21 Mar 2019 18:58:43 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DCA5B1B52B; Thu, 21 Mar 2019 18:58:42 +0100 (CET) Received: by dpdk.org (Postfix, from userid 1017) id 943291B495; Thu, 21 Mar 2019 18:58:33 +0100 (CET) In-Reply-To: <20190319045228.46879-3-honnappa.nagarahalli@arm.com> References: <20190319045228.46879-3-honnappa.nagarahalli@arm.com> To: test-report@dpdk.org Cc: Honnappa Nagarahalli Message-Id: <20190321175833.943291B495@dpdk.org> Date: Thu, 21 Mar 2019 18:58:33 +0100 (CET) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw51314 [PATCH 2/3] test/rcu_qsbr: add API and functional tests 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/51314 _coding style issues_ WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #136: FILE: app/test/test_rcu_qsbr.c:18: +#define TEST_RCU_QSBR_RETURN_IF_ERROR(cond, str, ...) do { \ + if (cond) { \ + printf("ERROR file %s, line %d: " str " ", __FILE__, \ + __LINE__, ##__VA_ARGS__); \ + return -1; \ + } \ +} while (0) total: 0 errors, 1 warnings, 1599 lines checked