Skip to content

Commit 7801cb1

Browse files
ColinIanKingmpe
authored andcommitted
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 <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
1 parent 26b78c8 commit 7801cb1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tools/testing/selftests/powerpc/security/spectre_v2.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ int spectre_v2_test(void)
198198
return 4;
199199
}
200200
printf("Branch misses > 15%% unexpected in this configuration!\n");
201-
printf("Possible mis-match between reported & actual mitigation\n");
201+
printf("Possible mismatch between reported & actual mitigation\n");
202202

203203
return 1;
204204
}
@@ -207,14 +207,14 @@ int spectre_v2_test(void)
207207
// This seems to affect userspace branch prediction a bit?
208208
if (miss_percent > 25) {
209209
printf("Branch misses > 25%% unexpected in this configuration!\n");
210-
printf("Possible mis-match between reported & actual mitigation\n");
210+
printf("Possible mismatch between reported & actual mitigation\n");
211211
return 1;
212212
}
213213
break;
214214
case COUNT_CACHE_DISABLED:
215215
if (miss_percent < 95) {
216216
printf("Branch misses < 95%% unexpected in this configuration!\n");
217-
printf("Possible mis-match between reported & actual mitigation\n");
217+
printf("Possible mismatch between reported & actual mitigation\n");
218218
return 1;
219219
}
220220
break;

0 commit comments

Comments
 (0)