From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id 99BEF1B16B for ; Wed, 3 Jan 2018 13:01:43 +0100 (CET) Received: by mail-wm0-f41.google.com with SMTP id a79so2290494wma.0 for ; Wed, 03 Jan 2018 04:01:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=dgX7vlHxC12FNvRZOIQTcv9K9iKvUmyaeM6DCV4bFDQ=; b=I+x425D9FUiSiZDx9Lo6pSbqvlGsBZ8zFNL32g9eOgs9FTfGqoQOxu4WfKFsjq99Zl S0TbBLw1I8f3RGa4PDCFfYlYeIOgBZNlqz0tRLJ3RnjyIj6UHJID6DRQ128zCmNFEDyq Tu+r2S0VUG8E97AfQ515ToaXsbZOR0celdHDU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=dgX7vlHxC12FNvRZOIQTcv9K9iKvUmyaeM6DCV4bFDQ=; b=cs72A5OmSfwJxeEuzrER/2xcv7sBRPJUDdNcey5kKrmhVgRTZ2feJYUcDQYq75+1Iw WWbBv7lNPiK8Co40e6C44xJwXENSCFUNIQyAJRzZ2HZ/35cmfADjLl/6htgSJCu4neDD ZUl4oUWZkenjZ6WhJcZl4jukW4L7rBoZg0JNgQ8M0MW05imdkZOizCV0LEWF4FhdaYcJ c0YZr3MUeQHuuDN2FZr2mIGARWSMTydnygLasWNItkC9lM6DSVeGsDaSfx9ByxcN5Ph9 8SUlKqRu8m0nkqOnFU9BFXSBx1S9qUIy6aArWPUgHBi6OuF0zEQke1HNdccYsm+xL2t2 O6lA== X-Gm-Message-State: AKGB3mIbDQvQJ3zc7zd+4hhMyTeS769AyMN5/U11gkvJNE4nY7iOYZi1 sVTqwDEWHT1Mtgr+LIZYqgMnW5HPZg7BtNmErCMLcw== X-Google-Smtp-Source: ACJfBotYf+K8J/dOHS3WxLixzFowI5KB202PH2PtVhuabm2a1M+f0ATgkLmvuUIG70mIbsqvQMCtlR+KkT9bfIZ6kzc= X-Received: by 10.28.45.193 with SMTP id t184mr1290733wmt.140.1514980903270; Wed, 03 Jan 2018 04:01:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.144.66 with HTTP; Wed, 3 Jan 2018 04:01:22 -0800 (PST) In-Reply-To: <5c1a7f3bfe6bbfc86f536541833de4ab1789a95c.1513866482.git.anatoly.burakov@intel.com> References: <5c1a7f3bfe6bbfc86f536541833de4ab1789a95c.1513866482.git.anatoly.burakov@intel.com> From: Radoslaw Biernacki Date: Wed, 3 Jan 2018 13:01:22 +0100 Message-ID: To: Anatoly Burakov Cc: dev@dpdk.org, Sergio Gonzalez Monroy , stable@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-stable] [PATCH 1/3] test: fix typo in memzone autotest 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: , X-List-Received-Date: Wed, 03 Jan 2018 12:01:43 -0000 s///g effects ;) Thank you! Reviewed-by: Radoslaw Biernacki On 21 December 2017 at 19:19, Anatoly Burakov wrote: > Fixes: 71330483a193 ("test/memzone: fix memory leak") > Cc: radoslaw.biernacki@linaro.org > Cc: stable@dpdk.org > Signed-off-by: Anatoly Burakov > --- > test/test/test_memzone.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/test/test/test_memzone.c b/test/test/test_memzone.c > index 1cf235a..aaffef9 100644 > --- a/test/test/test_memzone.c > +++ b/test/test/test_memzone.c > @@ -948,11 +948,11 @@ test_memzone_basic(void) > return 0; > } > > -static int memzone_calk_called; > +static int memzone_walk_called; > static void memzone_walk_clb(const struct rte_memzone *mz __rte_unused, > void *arg __rte_unused) > { > - memzone_calk_called = 1; > + memzone_walk_called = 1; > } > > static int > @@ -996,7 +996,7 @@ test_memzone(void) > > printf("check memzone cleanup\n"); > rte_memzone_walk(memzone_walk_clb, NULL); > - if (memzone_calk_called) { > + if (memzone_walk_called) { > printf("there are some memzones left after test\n"); > rte_memzone_dump(stdout); > return -1; > -- > 2.7.4 >