Skip to contentSkip to conversation

Documentation/mm: Fix spelling in hwpoison.rst

PATCH In review Abhinav Saxena 2 participants 4 messages Nov 7, 2024 – Nov 8, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 Documentation/mm: Fix spelling in hwpoison.rst

Fix spelling of "focusses" to "focuses" to follow standard English usage.

Checkpatch.pl reported this issue.

---
 Documentation/mm/hwpoison.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/mm/hwpoison.rst +1 -1
index 483b72aa7c11..dd02fae484dc 100644
@@ -17,7 +17,7 @@ To quote the overview comment::
 	hardware as being corrupted usually due to a 2bit ECC memory or cache
 	failure.
 
-	This focusses on pages detected as corrupted in the background.
+	This focuses on pages detected as corrupted in the background.
 	When the current CPU tries to consume corruption the currently
 	running process can just be killed directly instead. This implies
 	that if the error cannot be handled for some reason it's safe to
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/2 Documentation/mm: Fix trailing whitespace in page_cache.rst

Remove trailing whitespace from page_cache.rst. Fix detected by checkpatch.pl.

---
 Documentation/mm/page_cache.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/mm/page_cache.rst +1 -1
index 138d61f869df..13425fd5c8fb 100644
@@ -12,4 +12,4 @@ Folios
 ======
 
 The folio is the unit of memory management within the page cache.
-Operations 
+Operations
Signature · 1 line
2.34.1
reviewer
#2 lore raw
In reply to Abhinav Saxena
Quoted 2 lines · Abhinav Saxena

Fix spelling of "focusses" to "focuses" to follow standard English usage.

We accept British spellings.

internet says:
"Both spellings are acceptable in American and British English."

"Focused" is the past tense of the verb "focus" and can also be used as an adjective to mean clear. For example, "She had a focused approach in training". The plural of the noun "focus" can be either "foci" or "focuses".

FOCUS definition and meaning | Collins English Dictionary
), plural, 3rd person singular present tense focuses , focusing , past tense, past participle focused language note: The spellings... Collins Dictionary

Focussed vs Focused | Spelling, Explanation & Examples - QuillBot
Sep 10, 2024 — Published on September 10, 2024 by Trevor Marshall, MSc. Revised on October 29, 2024. Both focussed and focused are ac... QuillBot
Spelling Tips: Focused or Focussed? | Australia's Best Writing Tips
May 7, 2020 — Summary: Focused or Focussed? 'Focused' and 'focussed' are two spellings of the same word: Focused (one 's') is the sta... getproofed.com.au

Show all

"

Quoted 20 lines

Checkpatch.pl reported this issue.

---
 Documentation/mm/hwpoison.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/mm/hwpoison.rst +1 -1
index 483b72aa7c11..dd02fae484dc 100644
@@ -17,7 +17,7 @@ To quote the overview comment::
 	hardware as being corrupted usually due to a 2bit ECC memory or cache
 	failure.
 
-	This focusses on pages detected as corrupted in the background.
+	This focuses on pages detected as corrupted in the background.
 	When the current CPU tries to consume corruption the currently
 	running process can just be killed directly instead. This implies
 	that if the error cannot be handled for some reason it's safe to
Signature · 1 line
~Randy
#3 lore raw
Quoted 8 lines · Randy Dunlap
Quoted 2 lines · Abhinav Saxena

Fix spelling of "focusses" to "focuses" to follow standard English usage.

We accept British spellings.

internet says:
"Both spellings are acceptable in American and British English."

Ah. I should've checked contributing.rst[1] first. checkpatch.pl flagged it for me. I did not look more into it.

Thanks for the detailed reply!

[1] - Documentation/doc-guide/contributing.rst

Quoted 38 lines

"Focused" is the past tense of the verb "focus" and can also be used as an adjective to mean clear. For example, "She had a focused approach in training". The plural of the noun "focus" can be either "foci" or "focuses".

FOCUS definition and meaning | Collins English Dictionary
), plural, 3rd person singular present tense focuses , focusing , past tense, past participle focused language note: The spellings... Collins Dictionary

Focussed vs Focused | Spelling, Explanation & Examples - QuillBot
Sep 10, 2024 — Published on September 10, 2024 by Trevor Marshall, MSc. Revised on October 29, 2024. Both focussed and focused are ac... QuillBot
Spelling Tips: Focused or Focussed? | Australia's Best Writing Tips
May 7, 2020 — Summary: Focused or Focussed? 'Focused' and 'focussed' are two spellings of the same word: Focused (one 's') is the sta... getproofed.com.au

Show all

"

Quoted 20 lines

Checkpatch.pl reported this issue.

---
 Documentation/mm/hwpoison.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/mm/hwpoison.rst +1 -1
index 483b72aa7c11..dd02fae484dc 100644
@@ -17,7 +17,7 @@ To quote the overview comment::
 	hardware as being corrupted usually due to a 2bit ECC memory or cache
 	failure.
 
-	This focusses on pages detected as corrupted in the background.
+	This focuses on pages detected as corrupted in the background.
 	When the current CPU tries to consume corruption the currently
 	running process can just be killed directly instead. This implies
 	that if the error cannot be handled for some reason it's safe to
Signature · 2 lines
-- 
Abhinav Saxena