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 9660443E88 for ; Tue, 16 Apr 2024 20:16:58 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8DDF54068E; Tue, 16 Apr 2024 20:16:58 +0200 (CEST) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 4354A40262; Tue, 16 Apr 2024 20:16:56 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id 1D79F2067B; Tue, 16 Apr 2024 20:16:56 +0200 (CEST) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: [PATCH] eal: fix missing type in dtor macro expansion Date: Tue, 16 Apr 2024 20:16:53 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35E9F3AB@smartserver.smartshare.dk> In-Reply-To: <1713285204-5933-1-git-send-email-roretzla@linux.microsoft.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH] eal: fix missing type in dtor macro expansion Thread-Index: AdqQG9IJZi1GYeNoTECi2qEytYPLKwADlL4w References: <1713285204-5933-1-git-send-email-roretzla@linux.microsoft.com> From: =?iso-8859-1?Q?Morten_Br=F8rup?= To: "Tyler Retzlaff" , Cc: X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org > From: Tyler Retzlaff [mailto:roretzla@linux.microsoft.com] > Sent: Tuesday, 16 April 2024 18.33 >=20 > RTE_FINI expansion failed to specify void * type for storage of > destructor function pointer resulting it defaulting to type ``int``. >=20 > Update the macro to specify ``void *`` as the type so the correct size > is allocated in the segment. >=20 > Fixes: 64eff943ca82 ("eal: implement constructors for MSVC") > Cc: roretzla@linux.microsoft.com > Cc: stable@dpdk.org >=20 > Signed-off-by: Tyler Retzlaff > --- Acked-by: Morten Br=F8rup