[PATCH] memtest: Fix reference to non-existing function

Andrey Smirnov andrew.smirnov at gmail.com
Sat Oct 31 21:30:42 PDT 2015


It looks like commit c674e2d5847069ff34fb05e012ff1464cc0a6b37 replaced
mem_test_moving_inversions() with mem_test_moving_inversions_pattern()
but did not include the code of the latter function. Revert that
portion of the change in order to fix the build

Signed-off-by: Andrey Smirnov <andrew.smirnov at gmail.com>
---
 commands/memtest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commands/memtest.c b/commands/memtest.c
index 88656df..d784a5c 100644
--- a/commands/memtest.c
+++ b/commands/memtest.c
@@ -47,7 +47,7 @@ static int do_test_one_area(struct mem_test_resource *r, int bus_only,
 	if (bus_only)
 		return 0;

-	ret = mem_test_moving_inversions_pattern(r->r->start, r->r->end, 0xdeadbeef);
+	ret = mem_test_moving_inversions(r->r->start, r->r->end);
 	if (ret < 0)
 		return ret;
 	printf("done.\n\n");
--
2.1.4



More information about the barebox mailing list