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 54DB342671 for ; Fri, 29 Sep 2023 10:16:06 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 512DB40698; Fri, 29 Sep 2023 10:16:06 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 65C30402DE for ; Fri, 29 Sep 2023 10:15:39 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 62044120999; Fri, 29 Sep 2023 10:15:39 +0200 (CEST) Subject: |WARNING| pw132180 [PATCH v7 03/12] eventdev/dma: support adapter create and free In-Reply-To: <20230929081309.464565-4-amitprakashs@marvell.com> References: <20230929081309.464565-4-amitprakashs@marvell.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Amit Prakash Shukla Message-Id: <20230929081539.62044120999@dpdk.org> Date: Fri, 29 Sep 2023 10:15:39 +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/132180 _coding style issues_ WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #140: FILE: lib/eventdev/rte_event_dma_adapter.c:19: +#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) total: 0 errors, 1 warnings, 349 lines checked