From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 6EAED23C for ; Wed, 2 May 2018 11:28:20 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 May 2018 02:28:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,354,1520924400"; d="scan'208";a="225098389" Received: from aburakov-mobl.ger.corp.intel.com (HELO [10.252.18.186]) ([10.252.18.186]) by fmsmga006.fm.intel.com with ESMTP; 02 May 2018 02:28:17 -0700 To: Thomas Monjalon , dev@dpdk.org References: <20180501193852.1728-1-thomas@monjalon.net> From: "Burakov, Anatoly" Message-ID: Date: Wed, 2 May 2018 10:28:16 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180501193852.1728-1-thomas@monjalon.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] mem: fix typo in local function name X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2018 09:28:20 -0000 On 01-May-18 8:38 PM, Thomas Monjalon wrote: > Fixes: 582bed1e1d1d ("mem: support mapping hugepages at runtime") > > Signed-off-by: Thomas Monjalon > --- > lib/librte_eal/linuxapp/eal/eal_memalloc.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/lib/librte_eal/linuxapp/eal/eal_memalloc.c b/lib/librte_eal/linuxapp/eal/eal_memalloc.c > index 360d8f73c..ace2bcf3e 100644 > --- a/lib/librte_eal/linuxapp/eal/eal_memalloc.c > +++ b/lib/librte_eal/linuxapp/eal/eal_memalloc.c > @@ -143,7 +143,7 @@ prepare_numa(int *oldpolicy, struct bitmask *oldmask, int socket_id) > } > > static void > -resotre_numa(int *oldpolicy, struct bitmask *oldmask) > +restore_numa(int *oldpolicy, struct bitmask *oldmask) > { > RTE_LOG(DEBUG, EAL, > "Restoring previous memory policy: %d\n", *oldpolicy); > @@ -889,7 +889,7 @@ eal_memalloc_alloc_seg_bulk(struct rte_memseg **ms, int n_segs, size_t page_sz, > > #ifdef RTE_EAL_NUMA_AWARE_HUGEPAGES > if (have_numa) > - resotre_numa(&oldpolicy, oldmask); > + restore_numa(&oldpolicy, oldmask); > #endif > return ret; > } > Acked-by: Anatoly Burakov (tempted to say "Akced"...) -- Thanks, Anatoly