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 C9BD9A05D3 for ; Wed, 27 Mar 2019 06:53:59 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BCD351150; Wed, 27 Mar 2019 06:53:59 +0100 (CET) Received: by dpdk.org (Postfix, from userid 1017) id 3850B5681; Wed, 27 Mar 2019 06:53:57 +0100 (CET) In-Reply-To: <20190327055227.4950-3-honnappa.nagarahalli@arm.com> References: <20190327055227.4950-3-honnappa.nagarahalli@arm.com> To: test-report@dpdk.org Cc: Honnappa Nagarahalli Message-Id: <20190327055357.3850B5681@dpdk.org> Date: Wed, 27 Mar 2019 06:53:57 +0100 (CET) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw51757 [PATCH v2 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/51757 _coding style issues_ WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #135: 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, 1658 lines checked