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 400BC46B8B for ; Wed, 16 Jul 2025 15:05:11 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A21C94067D; Wed, 16 Jul 2025 15:05:10 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 151134067D for ; Wed, 16 Jul 2025 15:05:10 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 2110A12530F; Wed, 16 Jul 2025 15:03:32 +0200 (CEST) Subject: |WARNING| pw155269 [PATCH v4 07/22] tailq: fix lookup macro In-Reply-To: <20250716130212.1736407-8-david.marchand@redhat.com> References: <20250716130212.1736407-8-david.marchand@redhat.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: David Marchand Message-Id: <20250716130332.2110A12530F@dpdk.org> Date: Wed, 16 Jul 2025 15:03:32 +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/155269 _coding style issues_ ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #110: FILE: lib/eal/include/rte_tailq.h:74: +#define RTE_TAILQ_LOOKUP(name, struct_name) __extension__ ({ \ + struct rte_tailq_head *head = rte_eal_tailq_lookup(name); \ + head == NULL ? NULL : RTE_TAILQ_CAST(head, struct_name); \ +}) total: 1 errors, 0 warnings, 16 lines checked