Skip to contentSkip to conversation

x86/mm: Fix double word in comments

PATCH Applied Bo Liu 3 participants 3 messages May 4, 2023 – Jun 7, 2023

Subsystems (2)
lore
Share & tools
lore

Bo Liu

author
#0 lore raw

PATCH 1/1 x86/mm: Fix double word in comments

Remove the repeated word "the" in comments.

---
 arch/x86/mm/pat/set_memory.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/mm/pat/set_memory.c +1 -1
index fc627acfe40e..4cc94805050e 100644
@@ -231,7 +231,7 @@ within_inclusive(unsigned long addr, unsigned long start, unsigned long end)
  * points to #2, but almost all physical-to-virtual translations point to #1.
  *
  * This is so that we can have both a directmap of all physical memory *and*
- * take full advantage of the the limited (s32) immediate addressing range (2G)
+ * take full advantage of the limited (s32) immediate addressing range (2G)
  * of x86_64.
  *
  * See Documentation/arch/x86/x86_64/mm.rst for more detail.
Signature · 1 line
2.27.0
#1 lore raw
Quoted 1 line · Bo Liu

Remove the repeated word "the" in comments.

                                    "... in highmap_start_pfn() comment".
Quoted 3 lines

* This is so that we can have both a directmap of all physical memory *and*
- * take full advantage of the the limited (s32) immediate addressing range (2G)
+ * take full advantage of the limited (s32) immediate addressing range (2G)

The diff LGTM, thanks!

Signature · 1 line
An old man doll... just what I always wanted! - Clara
merge bot Applied
#2 lore raw

[tip: x86/cleanups] x86/mm: Remove repeated word in comments

In reply to Bo Liu
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:     7e980867ced0037a65f588971b89769857b77aab
Gitweb:        https://git.kernel.org/tip/7e980867ced0037a65f588971b89769857b77aab
Author:        Bo Liu <[email protected]>
AuthorDate:    Thu, 04 May 2023 04:54:46 -04:00
Committer:     Borislav Petkov (AMD) <[email protected]>
CommitterDate: Wed, 07 Jun 2023 12:47:34 +02:00

x86/mm: Remove repeated word in comments

Remove the repeated word "the" in comments.

---
 arch/x86/mm/pat/set_memory.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/mm/pat/set_memory.c +1 -1
index 7159cf7..b18fe0d 100644
@@ -231,7 +231,7 @@ within_inclusive(unsigned long addr, unsigned long start, unsigned long end)
  * points to #2, but almost all physical-to-virtual translations point to #1.
  *
  * This is so that we can have both a directmap of all physical memory *and*
- * take full advantage of the the limited (s32) immediate addressing range (2G)
+ * take full advantage of the limited (s32) immediate addressing range (2G)
  * of x86_64.
  *
  * See Documentation/arch/x86/x86_64/mm.rst for more detail.