From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4FB7AA0563 for ; Sun, 8 Mar 2020 06:27:30 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 297871BFEE; Sun, 8 Mar 2020 06:27:30 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id AA5AEFEB; Sun, 8 Mar 2020 06:27:26 +0100 (CET) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Mar 2020 21:27:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,528,1574150400"; d="scan'208";a="235294201" Received: from yexl-server.sh.intel.com (HELO localhost) ([10.67.117.17]) by orsmga008.jf.intel.com with ESMTP; 07 Mar 2020 21:27:23 -0800 Date: Sun, 8 Mar 2020 13:24:59 +0800 From: Ye Xiaolong To: Haiyue Wang Cc: dev@dpdk.org, jerinj@marvell.com, gavin.hu@arm.com, matan@mellanox.com, stable@dpdk.org Message-ID: <20200308052459.GD18727@intel.com> References: <20200308041824.8220-1-haiyue.wang@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200308041824.8220-1-haiyue.wang@intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v1] eal: fix structure marker 4B type error X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "stable" On 03/08, Haiyue Wang wrote: >Use the 32bit typedef for structure 4B alignment marking. > >Fixes: 2b393160a480 ("eal: introduce structure markers") >Cc: stable@dpdk.org > >Signed-off-by: Haiyue Wang >--- > lib/librte_eal/common/include/rte_common.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/lib/librte_eal/common/include/rte_common.h b/lib/librte_eal/common/include/rte_common.h >index 4b5f3a31f..3662545d2 100644 >--- a/lib/librte_eal/common/include/rte_common.h >+++ b/lib/librte_eal/common/include/rte_common.h >@@ -344,7 +344,7 @@ __extension__ typedef uint8_t RTE_MARKER8[0]; > /** Marker for 2B alignment in a structure. */ > __extension__ typedef uint16_t RTE_MARKER16[0]; > /** Marker for 4B alignment in a structure. */ >-__extension__ typedef uint16_t RTE_MARKER32[0]; >+__extension__ typedef uint32_t RTE_MARKER32[0]; > /** Marker for 8B alignment in a structure. */ > __extension__ typedef uint64_t RTE_MARKER64[0]; > >-- >2.25.1 > Acked-by: Xiaolong Ye