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 D476A46555 for ; Thu, 10 Apr 2025 20:02:25 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CEBF0406B8; Thu, 10 Apr 2025 20:02:25 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 74B71406B7 for ; Thu, 10 Apr 2025 20:02:24 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 5BDE81240EC; Thu, 10 Apr 2025 20:02:11 +0200 (CEST) Subject: |WARNING| pw152868 [PATCH 1/3] eventdev: introduce event vector adapter In-Reply-To: <20250410180056.10368-2-pbhagavatula@marvell.com> References: <20250410180056.10368-2-pbhagavatula@marvell.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Message-Id: <20250410180211.5BDE81240EC@dpdk.org> Date: Thu, 10 Apr 2025 20:02:11 +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/152868 _coding style issues_ WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #655: FILE: lib/eventdev/rte_event_vector_adapter.c:43: +#define PTR_VALID_OR_ERR_RET(ptr, retval) \ + do { \ + if (ptr == NULL) { \ + rte_errno = EINVAL; \ + return retval; \ + } \ + } while (0) total: 0 errors, 1 warnings, 1427 lines checked