selftests/powerpc/pmu: fix spelling mistake "mis-match" -> "mismatch"
authorColin Ian King <colin.i.king@gmail.com>
Sat, 19 Mar 2022 23:20:25 +0000 (23:20 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 22 May 2022 05:59:54 +0000 (15:59 +1000)
There are a few spelling mistakes in error messages. Fix them.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220319232025.22067-1-colin.i.king@gmail.com
tools/testing/selftests/powerpc/security/spectre_v2.c

index 0e231e8..5b2abb7 100644 (file)
@@ -198,7 +198,7 @@ int spectre_v2_test(void)
                                return 4;
                        }
                        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");
 
                        return 1;
                }
@@ -207,14 +207,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 < 95%% 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;