Skip to contentSkip to conversation

x86/resctrl: fix spelling mistake "Could't" -> "Couldn't"

PATCH Applied Colin King 2 participants 2 messages Aug 10, 2020 – Sep 4, 2020

Subsystems (3)
lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 x86/resctrl: fix spelling mistake "Could't" -> "Couldn't"

From: Colin Ian King <[email protected]>

There are spelling mistakes in pr_warn messages. Fix these.

---
 arch/x86/kernel/cpu/resctrl/core.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/x86/kernel/cpu/resctrl/core.c +2 -2
index 6a9df71c1b9e..98606689f5ca 100644
@@ -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;
 	}
 
Signature · 1 line
2.27.0
merge bot Applied
#1 lore raw

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

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

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 <[email protected]>
AuthorDate:    Mon, 10 Aug 2020 08:55:08 +01:00
Committer:     Borislav Petkov <[email protected]>
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 ]

---
 arch/x86/kernel/cpu/resctrl/core.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/x86/kernel/cpu/resctrl/core.c +2 -2
index 6a9df71..9cceee6 100644
@@ -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;
 	}