From b0542b58ca77b922cf879dfb7d38356b32399c56 Mon Sep 17 00:00:00 2001 From: Jimmy Brisson Date: Mon, 3 Jul 2023 20:28:48 -0500 Subject: [PATCH] fix(tc): Correct return type The fact that this was void instead of int, as required, caused the test-running code to assume that the tests always failed. Fixing the return type fixes the always-tests-failing bug. Signed-off-by: Jimmy Brisson Change-Id: Ief55fe15c437c87dac1d03419a8e148f5d864b8d --- plat/arm/board/tc/rss_ap_tests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plat/arm/board/tc/rss_ap_tests.c b/plat/arm/board/tc/rss_ap_tests.c index 8c40271ba..ea90ac337 100644 --- a/plat/arm/board/tc/rss_ap_tests.c +++ b/plat/arm/board/tc/rss_ap_tests.c @@ -56,7 +56,7 @@ static int run_tests(void) return 0; } -void run_platform_tests(void) +int run_platform_tests(void) { size_t i; int ret;