[tip: x86/cleanups] x86/resctrl: Fix spelling in user-visible warning messages

From: tip-bot2 for Colin Ian King
Date: Fri Sep 04 2020 - 19:33:13 EST


The following commit has been merged into the x86/cleanups branch of tip:

Commit-ID: 93921baa3f6ff77e57d7e772165aa7bd709b5387
Gitweb: https://git.kernel.org/tip/93921baa3f6ff77e57d7e772165aa7bd709b5387
Author: Colin Ian King <colin.king@xxxxxxxxxxxxx>
AuthorDate: Mon, 10 Aug 2020 08:55:08 +01:00
Committer: Borislav Petkov <bp@xxxxxxx>
CommitterDate: Sat, 05 Sep 2020 01:24:17 +02:00

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@xxxxxxxxxxxxx>
Signed-off-by: Borislav Petkov <bp@xxxxxxx>
Link: https://lkml.kernel.org/r/20200810075508.46490-1-colin.king@xxxxxxxxxxxxx
---
arch/x86/kernel/cpu/resctrl/core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/x86/kernel/cpu/resctrl/core.c b/arch/x86/kernel/cpu/resctrl/core.c
index 6a9df71..9cceee6 100644
--- a/arch/x86/kernel/cpu/resctrl/core.c
+++ b/arch/x86/kernel/cpu/resctrl/core.c
@@ -562,7 +562,7 @@ static void domain_add_cpu(int cpu, struct rdt_resource *r)

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

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

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