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 C8B3742642 for ; Tue, 26 Sep 2023 12:33:41 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AEF76402E2; Tue, 26 Sep 2023 12:33:41 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id AEE7840A89 for ; Tue, 26 Sep 2023 12:33:37 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id AAF3C120999; Tue, 26 Sep 2023 12:33:37 +0200 (CEST) Subject: |WARNING| pw131941 [PATCH v4 03/12] eventdev: create and free API for DMA adapter In-Reply-To: <20230926103233.3956431-4-amitprakashs@marvell.com> References: <20230926103233.3956431-4-amitprakashs@marvell.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Amit Prakash Shukla Message-Id: <20230926103337.AAF3C120999@dpdk.org> Date: Tue, 26 Sep 2023 12:33:37 +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/131941 _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