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 586BAA04C7 for ; Mon, 14 Sep 2020 16:36:25 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 35C111C11B; Mon, 14 Sep 2020 16:36:25 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id 84A9D1C0D8; Mon, 14 Sep 2020 16:36:21 +0200 (CEST) In-Reply-To: <20200914143350.18650-8-feifei.wang2@arm.com> References: <20200914143350.18650-8-feifei.wang2@arm.com> To: test-report@dpdk.org Cc: Feifei Wang Message-Id: <20200914143621.84A9D1C0D8@dpdk.org> Date: Mon, 14 Sep 2020 16:36:21 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw77629 [PATCH v4 7/7] 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/77629 _coding style issues_ WARNING:TYPO_SPELLING: 'EMTPY' may be misspelled - perhaps 'EMPTY'? #59: TEST_RING_FULL_EMTPY_ITER. WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #88: 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) total: 0 errors, 2 warnings, 580 lines checked