提交 7801cb1d 编写于 作者: C Colin Ian King 提交者: Michael Ellerman

selftests/powerpc/pmu: fix spelling mistake "mis-match" -> "mismatch"

There are a few spelling mistakes in error messages. Fix them.
Signed-off-by: NColin Ian King <colin.i.king@gmail.com>
Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220319232025.22067-1-colin.i.king@gmail.com
上级 26b78c81
...@@ -198,7 +198,7 @@ int spectre_v2_test(void) ...@@ -198,7 +198,7 @@ int spectre_v2_test(void)
return 4; return 4;
} }
printf("Branch misses > 15%% unexpected in this configuration!\n"); 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; return 1;
} }
...@@ -207,14 +207,14 @@ int spectre_v2_test(void) ...@@ -207,14 +207,14 @@ int spectre_v2_test(void)
// This seems to affect userspace branch prediction a bit? // This seems to affect userspace branch prediction a bit?
if (miss_percent > 25) { if (miss_percent > 25) {
printf("Branch misses > 25%% unexpected in this configuration!\n"); 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; return 1;
} }
break; break;
case COUNT_CACHE_DISABLED: case COUNT_CACHE_DISABLED:
if (miss_percent < 95) { if (miss_percent < 95) {
printf("Branch misses < 95%% unexpected in this configuration!\n"); 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; return 1;
} }
break; break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册