mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH master 1/2] test: self: mmu: remap buffer with default attributes on exit
@ 2023-05-23  9:42 Ahmad Fatoum
  2023-05-23  9:42 ` [PATCH master 2/2] test: self: mmu: fix invalid use of __is_defined Ahmad Fatoum
  2023-05-25  6:50 ` [PATCH master 1/2] test: self: mmu: remap buffer with default attributes on exit Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Ahmad Fatoum @ 2023-05-23  9:42 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

For inspection with mmuinfo, I had inserted a return before remapping
with default attributes. Drop it, so we can test that default attributes
work and to free the memory allocated.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 test/self/mmu.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/test/self/mmu.c b/test/self/mmu.c
index ee6c1cd45e7e..48515b30aeb8 100644
--- a/test/self/mmu.c
+++ b/test/self/mmu.c
@@ -142,7 +142,6 @@ static void test_remap(void)
 	}
 
 	expect_success(ret, "asserting mirroring after remap (virt += 4K)");
-	return;
 
 	ret = remap_range(buffer, SZ_8M, MAP_DEFAULT);
 	expect_success(ret, "remapping buffer with default attrs");
-- 
2.39.2




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

end of thread, other threads:[~2023-05-25  6:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-23  9:42 [PATCH master 1/2] test: self: mmu: remap buffer with default attributes on exit Ahmad Fatoum
2023-05-23  9:42 ` [PATCH master 2/2] test: self: mmu: fix invalid use of __is_defined Ahmad Fatoum
2023-05-25  6:50 ` [PATCH master 1/2] test: self: mmu: remap buffer with default attributes on exit Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox