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 99C5143801; Wed, 3 Jan 2024 00:45:14 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 09F95402EB; Wed, 3 Jan 2024 00:45:07 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id E9E90402C7 for ; Wed, 3 Jan 2024 00:45:03 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1086) id 1F41B20ACEE8; Tue, 2 Jan 2024 15:45:03 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 1F41B20ACEE8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1704239103; bh=5IwBWsT+j14qFqDge5TkWdEQLHIeO4shstvsAM/nWvg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GUEd26kcdGM99v0fc93z0rlCkHYxFA5UKCz6OK9WlCjKbnwlLy7kEpzKOA4fiOQi6 At4ADXs0f6QSkpvzrqKwMUwxefeOGVWoX6MX5Jmq+6YN7gie9TSTasOjEcdROpZBT/ HA5+2gri3eg5KnERHnyjrS/mDgft+fVvBSKtm0QQ= From: Tyler Retzlaff To: dev@dpdk.org Cc: Kai Ji , Pablo de Lara , Tyler Retzlaff Subject: [PATCH v2 0/3] remove __typeof__ from expansion of per lcore macros Date: Tue, 2 Jan 2024 15:44:59 -0800 Message-Id: <1704239102-31044-1-git-send-email-roretzla@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1703006864-27378-1-git-send-email-roretzla@linux.microsoft.com> References: <1703006864-27378-1-git-send-email-roretzla@linux.microsoft.com> X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The design of the macros requires a type to be provided to the macro. By expanding the type parameter inside of typeof it also inadvertently allows an expression to be used which appears not to have been intended after evaluating the parameter name and existing macro use. Technically this is an API break but only for applications that were using these macros outside of the original design intent. v2: * add additional patch to adjust usage for crypto/ipsec_mb Tyler Retzlaff (3): eal: provide type to per lcore macro crypto/ipsec_mb: provide type to per lcore macro eal: remove typeof from per lcore macros drivers/crypto/ipsec_mb/pmd_aesni_gcm_priv.h | 2 +- lib/eal/common/eal_common_errno.c | 2 +- lib/eal/include/rte_per_lcore.h | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) -- 1.8.3.1