selftests/powerpc/pmu: fix spelling mistake "mis-match" -> "mismatch"
Subsystems (3)
PATCH 1/1 selftests/powerpc/pmu: fix spelling mistake "mis-match" -> "mismatch"
There are a few spelling mistakes in error messages. Fix them.
Signed-off-by Colin Ian King <[email protected]>
--- tools/testing/selftests/powerpc/security/spectre_v2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
tools/testing/selftests/powerpc/security/spectre_v2.c +3 -3
@@ -183,7 +183,7 @@ int spectre_v2_test(void)// These should all not affect userspace branch prediction if (miss_percent >15 ) {printf ("Branch misses > 15%% unexpected in this configuration!\n" ); -printf ("Possible mis-match between reported & actual mitigation\n" ); +printf ("Possible mismatch between reported & actual mitigation\n" );/* * Such a mismatch may be caused by a guest system * reporting as vulnerable when the host is mitigated.
@@ -201,14 +201,14 @@ int spectre_v2_test(void)// This seems to affect userspace branch prediction a bit? if (miss_percent >25 ) {printf ("Branch misses > 25%% unexpected in this configuration!\n" ); -printf ("Possible mis-match between reported & actual mitigation\n" ); +printf ("Possible mismatch between reported & actual mitigation\n" );return 1 ; }break ;case COUNT_CACHE_DISABLED :if (miss_percent <95 ) {printf ("Branch misses < 20%% unexpected in this configuration!\n" ); -printf ("Possible mis-match between reported & actual mitigation\n" ); +printf ("Possible mismatch between reported & actual mitigation\n" );return 1 ; }break ;
Signature · 1 line
2.35.1
Michael Ellerman
AppliedQuoted 3 lines · Colin Ian King
There are a few spelling mistakes in error messages. Fix them.
Applied to powerpc/next.
[1/1] selftests/powerpc/pmu: fix spelling mistake "mis-match" -> "mismatch"
https://git.kernel.org/powerpc/c/7801cb1dc60f7348687ca1c3aa03a944687563f0
cheers