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 B39A3A04C7 for ; Tue, 15 Sep 2020 08:30:56 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id ABECF1C0C9; Tue, 15 Sep 2020 08:30:56 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id 6F9EF1C0C6; Tue, 15 Sep 2020 08:30:55 +0200 (CEST) In-Reply-To: <20200915062749.21374-8-feifei.wang2@arm.com> References: <20200915062749.21374-8-feifei.wang2@arm.com> To: test-report@dpdk.org Cc: Feifei Wang Message-Id: <20200915063055.6F9EF1C0C6@dpdk.org> Date: Tue, 15 Sep 2020 08:30:55 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw77680 [PATCH v5 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/77680 _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