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 3F2FA46487 for ; Wed, 26 Mar 2025 14:17:01 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3B27F402DF; Wed, 26 Mar 2025 14:17:01 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 9E44A402DA for ; Wed, 26 Mar 2025 14:16:59 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id 082B9123E76; Wed, 26 Mar 2025 14:16:38 +0100 (CET) Subject: |WARNING| pw152564 [RFC 1/2] eventdev: introduce event vector adapter In-Reply-To: <20250326131441.5965-2-pbhagavatula@marvell.com> References: <20250326131441.5965-2-pbhagavatula@marvell.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Message-Id: <20250326131638.082B9123E76@dpdk.org> Date: Wed, 26 Mar 2025 14:16:38 +0100 (CET) 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/152564 _coding style issues_ WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #349: FILE: lib/eventdev/rte_event_vector_adapter.c:41: +#define PTR_VALID_OR_ERR_RET(ptr, retval) \ + do { \ + if (ptr == NULL) { \ + rte_errno = EINVAL; \ + return retval; \ + } \ + } while (0) total: 0 errors, 1 warnings, 1142 lines checked