Skip to content

Commit 93921ba

Browse files
Colin Ian Kingsuryasaimadhu
authored andcommitted
x86/resctrl: Fix spelling in user-visible warning messages
Fix spelling mistake "Could't" -> "Couldn't" in user-visible warning messages. [ bp: Massage commit message; s/cpu/CPU/g ] Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20200810075508.46490-1-colin.king@canonical.com
1 parent eb36217 commit 93921ba

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • arch/x86/kernel/cpu/resctrl

arch/x86/kernel/cpu/resctrl/core.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ static void domain_add_cpu(int cpu, struct rdt_resource *r)
562562

563563
d = rdt_find_domain(r, id, &add_pos);
564564
if (IS_ERR(d)) {
565-
pr_warn("Could't find cache id for cpu %d\n", cpu);
565+
pr_warn("Couldn't find cache id for CPU %d\n", cpu);
566566
return;
567567
}
568568

@@ -607,7 +607,7 @@ static void domain_remove_cpu(int cpu, struct rdt_resource *r)
607607

608608
d = rdt_find_domain(r, id, NULL);
609609
if (IS_ERR_OR_NULL(d)) {
610-
pr_warn("Could't find cache id for cpu %d\n", cpu);
610+
pr_warn("Couldn't find cache id for CPU %d\n", cpu);
611611
return;
612612
}
613613

0 commit comments

Comments
 (0)