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 13C2D1B2D5; Thu, 21 Dec 2017 19:19:47 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Dec 2017 10:19:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,437,1508828400"; d="scan'208";a="3814637" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga002.fm.intel.com with ESMTP; 21 Dec 2017 10:19:45 -0800 Received: from sivswdev01.ir.intel.com (sivswdev01.ir.intel.com [10.237.217.45]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id vBLIJjVh012352; Thu, 21 Dec 2017 18:19:45 GMT Received: from sivswdev01.ir.intel.com (localhost [127.0.0.1]) by sivswdev01.ir.intel.com with ESMTP id vBLIJjwC032740; Thu, 21 Dec 2017 18:19:45 GMT Received: (from aburakov@localhost) by sivswdev01.ir.intel.com with LOCAL id vBLIJiMU032732; Thu, 21 Dec 2017 18:19:44 GMT From: Anatoly Burakov To: dev@dpdk.org Cc: Sergio Gonzalez Monroy , radoslaw.biernacki@linaro.org, stable@dpdk.org Date: Thu, 21 Dec 2017 18:19:42 +0000 Message-Id: <5c1a7f3bfe6bbfc86f536541833de4ab1789a95c.1513866482.git.anatoly.burakov@intel.com> X-Mailer: git-send-email 1.7.0.7 Subject: [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: Thu, 21 Dec 2017 18:19:48 -0000 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