From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH 01/10] eal: add shorthand __rte_weak macro Date: Wed, 3 Oct 2018 17:09:24 +0100 Message-ID: References: <20180803140605.43072-1-keith.wiles@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: dpdk-dev , Thomas Monjalon To: keith.wiles@intel.com Return-path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 620B61B11F for ; Wed, 3 Oct 2018 18:09:28 +0200 (CEST) In-Reply-To: <20180803140605.43072-1-keith.wiles@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 8/3/2018 3:05 PM, keith.wiles at intel.com (Keith Wiles) wrote: > Signed-off-by: Keith Wiles > --- > lib/librte_eal/common/include/rte_common.h | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/lib/librte_eal/common/include/rte_common.h b/lib/librte_eal/common/include/rte_common.h > index 069c13ec7..2c4535b1a 100644 > --- a/lib/librte_eal/common/include/rte_common.h > +++ b/lib/librte_eal/common/include/rte_common.h > @@ -68,6 +68,11 @@ typedef uint16_t unaligned_uint16_t; > /******* Macro to mark functions and fields scheduled for removal *****/ > #define __rte_deprecated __attribute__((__deprecated__)) > > +/** > + * short definition to mark a function or variable to a weak reference. > + */ > +#define __rte_weak __attribute__((__weak__)) Looks good to me. Reviewed-by: Ferruh Yigit Since the change is all mechanical same change in further patches, what do you think merging this patchset into single patch?