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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 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

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux