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 EC374A04BB for ; Fri, 11 Sep 2020 18:13:11 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E602B1BFCD; Fri, 11 Sep 2020 18:13:11 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id 1F8E91C0CA; Fri, 11 Sep 2020 18:13:11 +0200 (CEST) In-Reply-To: <20200911161002.19816-7-feifei.wang2@arm.com> References: <20200911161002.19816-7-feifei.wang2@arm.com> To: test-report@dpdk.org Cc: Feifei Wang Message-Id: <20200911161311.1F8E91C0CA@dpdk.org> Date: Fri, 11 Sep 2020 18:13:11 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw77459 [PATCH v3 6/6] test/ring: improve the application of macro 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/77459 _coding style issues_ WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #84: FILE: app/test/test_ring.c:58: +#define TEST_RING_VERIFY(exp, r) do { \ if (!(exp)) { \ printf("error at %s:%d condition " #exp " failed ", \ __func__, __LINE__); \ + rte_ring_dump(stdout, (r)); \ + goto fail; \ + } \ +} while (0) WARNING:TYPO_SPELLING: 'EMTPY' may be misspelled - perhaps 'EMPTY'? #97: FILE: app/test/test_ring.c:67: +#define TEST_RING_FULL_EMTPY_ITER 8 total: 0 errors, 2 warnings, 572 lines checked