Skip to contentSkip to conversation

sched/topology: Fix a spelling mistake in error message

PATCH In review Zhen Lei 4 participants 8 messages May 26, 2021 – May 27, 2021 Scheduler

lore
Share & tools
lore

Zhen Lei

author
#0 lore raw

PATCH 1/1 sched/topology: Fix a spelling mistake in error message

The misspelled word 'borken' should be 'broken'.

Fixes 6ae72dff3759 ("sched: Robustify topology setup")
---
 kernel/sched/topology.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/topology.c +1 -1
index 55a0a243e871..80295e224442 100644
@@ -1937,7 +1937,7 @@ static struct sched_domain *build_sched_domain(struct sched_domain_topology_leve
 
 		if (!cpumask_subset(sched_domain_span(child),
 				    sched_domain_span(sd))) {
-			pr_err("BUG: arch topology borken\n");
+			pr_err("BUG: arch topology broken\n");
 #ifdef CONFIG_SCHED_DEBUG
 			pr_err("     the %s domain not a subset of the %s domain\n",
 					child->name, sd->name);
Signature · 1 line
2.25.1
#1 lore raw
Quoted 13 lines · Zhen Lei

The misspelled word 'borken' should be 'broken'.

Fixes 6ae72dff3759 ("sched: Robustify topology setup")
---
 kernel/sched/topology.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/topology.c +0 -0
index 55a0a243e871..80295e224442 100644

kernel/sched/topology.c static struct sched_domain *build_sched_domain(struct sched_domain_topology_leve · line 1940

Quoted 5 lines
kernel/sched/topology.c +1 -1
@@ -1937,7 +1937,7 @@ static struct sched_domain *build_sched_domain(struct sched_domain_topology_leve
 
 		if (!cpumask_subset(sched_domain_span(child),
 				    sched_domain_span(sd))) {
-			pr_err("BUG: arch topology borken\n");
+			pr_err("BUG: arch topology broken\n");

Would "borked" or "b0rken" be clearer?

kernel/sched/topology.c static struct sched_domain *build_sched_domain(struct sched_domain_topology_leve · line 1943

Quoted 4 lines
kernel/sched/topology.c +0 -0
 #ifdef CONFIG_SCHED_DEBUG
 			pr_err("     the %s domain not a subset of the %s domain\n",
 					child->name, sd->name);

I.e., this is misspelt on purpose.

Reply to a previous version of this patch:
https://lore.kernel.org/lkml/[email protected]/

cheers.

Signature · 1 line
~Randy
#2 lore raw
Quoted 15 lines · Randy Dunlap
Quoted 14 lines · Zhen Lei

The misspelled word 'borken' should be 'broken'.

Fixes 6ae72dff3759 ("sched: Robustify topology setup")
---
 kernel/sched/topology.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/topology.c +0 -0
index 55a0a243e871..80295e224442 100644
@@ -1937,7 +1937,7 @@ static struct sched_domain *build_sched_domain(struct sched_domain_topology_leve
 
Quoted 6 lines

kernel/sched/topology.c static struct sched_domain *build_sched_domain(struct sched_domain_topology_leve · line 1940

Quoted 4 lines
kernel/sched/topology.c +1 -1
 		if (!cpumask_subset(sched_domain_span(child),
 				    sched_domain_span(sd))) {
-			pr_err("BUG: arch topology borken\n");
+			pr_err("BUG: arch topology broken\n");

Would "borked" or "b0rken" be clearer?

These two words don't seem to exist at all. Linux is an open-source code for the world, so it's better to use a more common word.

Quoted 14 lines

kernel/sched/topology.c static struct sched_domain *build_sched_domain(struct sched_domain_topology_leve · line 1943

Quoted 5 lines
kernel/sched/topology.c +0 -0
 #ifdef CONFIG_SCHED_DEBUG
 			pr_err("     the %s domain not a subset of the %s domain\n",
 					child->name, sd->name);

I.e., this is misspelt on purpose.

Reply to a previous version of this patch:
https://lore.kernel.org/lkml/[email protected]/

cheers.

#3 lore raw
Quoted 25 lines · Leizhen (ThunderTown)
Quoted 15 lines · Randy Dunlap
Quoted 14 lines · Zhen Lei

The misspelled word 'borken' should be 'broken'.

Fixes 6ae72dff3759 ("sched: Robustify topology setup")
---
 kernel/sched/topology.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/topology.c +0 -0
index 55a0a243e871..80295e224442 100644
@@ -1937,7 +1937,7 @@ static struct sched_domain *build_sched_domain(struct sched_domain_topology_leve
 
Quoted 6 lines

kernel/sched/topology.c static struct sched_domain *build_sched_domain(struct sched_domain_topology_leve · line 1940

Quoted 4 lines
kernel/sched/topology.c +1 -1
 		if (!cpumask_subset(sched_domain_span(child),
 				    sched_domain_span(sd))) {
-			pr_err("BUG: arch topology borken\n");
+			pr_err("BUG: arch topology broken\n");

Would "borked" or "b0rken" be clearer?

Quoted 2 lines

These two words don't seem to exist at all. Linux is an open-source code for the world, so it's better to use a more common word.

What?

Please google:

"borken" meaning

Please stop these pointless patches.

Thanks,

Ingo

#4 lore raw
Quoted 28 lines · Ingo Molnar
Quoted 25 lines · Leizhen (ThunderTown)
Quoted 21 lines · Randy Dunlap
Quoted 13 lines · Zhen Lei

The misspelled word 'borken' should be 'broken'.

Fixes 6ae72dff3759 ("sched: Robustify topology setup")
---
 kernel/sched/topology.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/topology.c +0 -0
index 55a0a243e871..80295e224442 100644

kernel/sched/topology.c static struct sched_domain *build_sched_domain(struct sched_domain_topology_leve · line 1940

Quoted 5 lines
kernel/sched/topology.c +1 -1
@@ -1937,7 +1937,7 @@ static struct sched_domain *build_sched_domain(struct sched_domain_topology_leve
 
 		if (!cpumask_subset(sched_domain_span(child),
 				    sched_domain_span(sd))) {
-			pr_err("BUG: arch topology borken\n");
+			pr_err("BUG: arch topology broken\n");

Would "borked" or "b0rken" be clearer?

Quoted 8 lines
Quoted 2 lines

These two words don't seem to exist at all. Linux is an open-source code for the world, so it's better to use a more common word.

What?

Please google:

"borken" meaning

Hi, Ingo and Randy:
I apologize to you both. In fact, I googled 'borken' before posting this patch.
But the result is: Borken is a German town. But I really didn't Google "borked" and "b0rken", I just looked it up with an English dictionary software, but it doesn't exist.
As Randy's advice, it would be better to use "borked". At least it doesn't feel
like the 'r' and 'o' in "broken" are written in reverse order. There is no semantic error in using "broken" in this sentence.

Quoted 2 lines

Please stop these pointless patches.

He who does not know is not guilty.

Quoted 7 lines

Thanks,

Ingo

.

maintainer
#5 lore raw
In reply to Leizhen (ThunderTown)
Quoted 25 lines · Leizhen (ThunderTown)
Quoted 15 lines · Randy Dunlap
Quoted 14 lines · Zhen Lei

The misspelled word 'borken' should be 'broken'.

Fixes 6ae72dff3759 ("sched: Robustify topology setup")
---
 kernel/sched/topology.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/topology.c +0 -0
index 55a0a243e871..80295e224442 100644
@@ -1937,7 +1937,7 @@ static struct sched_domain *build_sched_domain(struct sched_domain_topology_leve
 
Quoted 6 lines

kernel/sched/topology.c static struct sched_domain *build_sched_domain(struct sched_domain_topology_leve · line 1940

Quoted 4 lines
kernel/sched/topology.c +1 -1
 		if (!cpumask_subset(sched_domain_span(child),
 				    sched_domain_span(sd))) {
-			pr_err("BUG: arch topology borken\n");
+			pr_err("BUG: arch topology broken\n");

Would "borked" or "b0rken" be clearer?

Quoted 2 lines

These two words don't seem to exist at all. Linux is an open-source code for the world, so it's better to use a more common word.

Language is a living thing; also:

https://www.urbandictionary.com/define.php?term=borked

I realize that as a non-native speaker idioms and colloquialisms are difficult, but if we sanitize the language we'll end up with something dreadfully dull and less expressive.

Also; this is a rather trivial play on words, to break the word broken, it should apply to pretty much any (written) language. It should be an evident pun to all except computer spell checkers (they so lack humour).

Also, I too am a non-native speaker, although I suspect I have it easier for my native tongue is at least in the same language group as English.

#6 lore raw
Quoted 26 lines · Peter Zijlstra
Quoted 25 lines · Leizhen (ThunderTown)
Quoted 21 lines · Randy Dunlap
Quoted 13 lines · Zhen Lei

The misspelled word 'borken' should be 'broken'.

Fixes 6ae72dff3759 ("sched: Robustify topology setup")
---
 kernel/sched/topology.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/topology.c +0 -0
index 55a0a243e871..80295e224442 100644

kernel/sched/topology.c static struct sched_domain *build_sched_domain(struct sched_domain_topology_leve · line 1940

Quoted 5 lines
kernel/sched/topology.c +1 -1
@@ -1937,7 +1937,7 @@ static struct sched_domain *build_sched_domain(struct sched_domain_topology_leve
 
 		if (!cpumask_subset(sched_domain_span(child),
 				    sched_domain_span(sd))) {
-			pr_err("BUG: arch topology borken\n");
+			pr_err("BUG: arch topology broken\n");

Would "borked" or "b0rken" be clearer?

Quoted 6 lines
Quoted 2 lines

These two words don't seem to exist at all. Linux is an open-source code for the world, so it's better to use a more common word.

Language is a living thing; also:

https://www.urbandictionary.com/define.php?term=borked

OK, I got it. Thanks.

Quoted 15 lines

I realize that as a non-native speaker idioms and colloquialisms are difficult, but if we sanitize the language we'll end up with something dreadfully dull and less expressive.

Also; this is a rather trivial play on words, to break the word broken, it should apply to pretty much any (written) language. It should be an evident pun to all except computer spell checkers (they so lack humour).

Also, I too am a non-native speaker, although I suspect I have it easier for my native tongue is at least in the same language group as English.

.