From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B196E42604 for ; Tue, 19 Sep 2023 15:44:32 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AC6B54028B; Tue, 19 Sep 2023 15:44:32 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id DE8824028B for ; Tue, 19 Sep 2023 15:44:31 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id D86C4120802; Tue, 19 Sep 2023 15:44:31 +0200 (CEST) Subject: |WARNING| pw131628 [PATCH v1 3/7] eventdev: add DMA adapter implementation In-Reply-To: <20230919134222.2500033-3-amitprakashs@marvell.com> References: <20230919134222.2500033-3-amitprakashs@marvell.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Amit Prakash Shukla Message-Id: <20230919134431.D86C4120802@dpdk.org> Date: Tue, 19 Sep 2023 15:44:31 +0200 (CEST) X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 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 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/131628 _coding style issues_ WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #161: FILE: lib/eventdev/rte_event_dma_adapter.c:29: +#define EVENT_DMA_ADAPTER_ID_VALID_OR_ERR_RET(id, retval) \ + do { \ + if (!edma_adapter_valid_id(id)) { \ + RTE_EDEV_LOG_ERR("Invalid DMA adapter id = %d ", id); \ + return retval; \ + } \ + } while (0) WARNING:TYPO_SPELLING: 'transction' may be misspelled - perhaps 'transaction'? #1118: FILE: lib/eventdev/rte_event_dma_adapter.c:986: + "Failed to get memory for dma_dev transction buffer"); total: 0 errors, 2 warnings, 1522 lines checked