From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by dpdk.org (Postfix) with ESMTP id B381C1B1BF for ; Wed, 3 Jan 2018 13:01:43 +0100 (CET) Received: by mail-wm0-f51.google.com with SMTP id i11so2276788wmf.4 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=M+asBNZCMaPawFRvEU2pc6OeGWwgV7GXGlACxLs6zHvwO/0yOmw0Hl76etudPMtiQD /1vHKgznbhXwTcvAeeCH9Nte0G+ClzdWC9gM50GTumrZ9F9/Zp3JJBILC5Djm8CCy0bX 9iA05oXd/AA1JiqeLlBDs6CcKL18LRsowGf/6+/z4sCMH8jIEjkVufAZeULkZR62F3a6 Tnw6yCgYXP/ED1bPKx9KsjkxwqD5q2MVrAblLpO+69drgQkL/Ocnz3CkaCYSW2ZXRYlX 9p0zNT4nMsIOyIr3cXL6f8bnkdiFowX49po8srP/ZzNSjys24B2Ts8+xWaZcpI0KAvZR i6wQ== X-Gm-Message-State: AKGB3mIgrhW8hDLCZTsoywfJ/H8INBmSSF121xk+oVaApHcw/jaNWiAC xMoLFxIgCyDh239RYOAIOvfPdsvIzWrMDhnS4udIIQ== 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-dev] [PATCH 1/3] test: fix typo in memzone autotest 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, 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 >