diff mbox series

[v3,29/31] tests/tcg: fix missing return

Message ID 20210512102051.12134-30-alex.bennee@linaro.org
State Superseded
Headers show
Series testing/next pre-PR (hexagon, tricore, misc) | expand

Commit Message

Alex Bennée May 12, 2021, 10:20 a.m. UTC
This was picked up when clang built the test.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

---
 tests/tcg/multiarch/system/memory.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.20.1

Comments

Philippe Mathieu-Daudé May 12, 2021, 11:13 a.m. UTC | #1
On 5/12/21 12:20 PM, Alex Bennée wrote:
> This was picked up when clang built the test.

> 

> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

> ---

>  tests/tcg/multiarch/system/memory.c | 1 +

>  1 file changed, 1 insertion(+)


Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
diff mbox series

Patch

diff --git a/tests/tcg/multiarch/system/memory.c b/tests/tcg/multiarch/system/memory.c
index eb0ec6f8eb..41c7f66e2e 100644
--- a/tests/tcg/multiarch/system/memory.c
+++ b/tests/tcg/multiarch/system/memory.c
@@ -326,6 +326,7 @@  static bool do_unsigned_test(init_ufn fn)
         fn(i);
         ok = do_unsigned_reads(i);
     }
+    return ok;
 #else
     fn(0);
     return do_unsigned_reads(0);