[PATCH] selftests/powerpc: Fix typo in spectre_v2

Russell Currey ruscur at russell.cc
Tue Jun 8 15:48:51 AEST 2021


Signed-off-by: Russell Currey <ruscur at russell.cc>
---
 tools/testing/selftests/powerpc/security/spectre_v2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/powerpc/security/spectre_v2.c b/tools/testing/selftests/powerpc/security/spectre_v2.c
index adc2b7294e5f..e66f66bc482e 100644
--- a/tools/testing/selftests/powerpc/security/spectre_v2.c
+++ b/tools/testing/selftests/powerpc/security/spectre_v2.c
@@ -209,7 +209,7 @@ int spectre_v2_test(void)
 		break;
 	case COUNT_CACHE_DISABLED:
 		if (miss_percent < 95) {
-			printf("Branch misses < 20%% unexpected in this configuration!\n");
+			printf("Branch misses < 95%% unexpected in this configuration!\n");
 			printf("Possible mis-match between reported & actual mitigation\n");
 			return 1;
 		}
-- 
2.32.0



More information about the Linuxppc-dev mailing list