patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH 1/3] test: fix typo in memzone autotest
@ 2017-12-21 18:19 Anatoly Burakov
  2017-12-21 18:19 ` [dpdk-stable] [PATCH 2/3] test: fix copypaste error " Anatoly Burakov
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Anatoly Burakov @ 2017-12-21 18:19 UTC (permalink / raw)
  To: dev; +Cc: Sergio Gonzalez Monroy, radoslaw.biernacki, stable

Fixes: 71330483a193 ("test/memzone: fix memory leak")
Cc: radoslaw.biernacki@linaro.org
Cc: stable@dpdk.org
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
---
 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-01-17 23:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-21 18:19 [dpdk-stable] [PATCH 1/3] test: fix typo in memzone autotest Anatoly Burakov
2017-12-21 18:19 ` [dpdk-stable] [PATCH 2/3] test: fix copypaste error " Anatoly Burakov
2017-12-21 18:19 ` [dpdk-stable] [PATCH 3/3] test: fix wrong test " Anatoly Burakov
2018-01-03 12:01 ` [dpdk-stable] [PATCH 1/3] test: fix typo " Radoslaw Biernacki
2018-01-17 23:35   ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).