Remove the repeated word "the" in comments.
Signed-off-by: Bo Liu <[email protected]>
---
arch/x86/mm/pat/set_memory.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/mm/pat/set_memory.c b/arch/x86/mm/pat/set_memory.c
index fc627acfe40e..4cc94805050e 100644
--- a/arch/x86/mm/pat/set_memory.c
+++ b/arch/x86/mm/pat/set_memory.c
@@ -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.
--
2.27.0
On Thu, May 04, 2023 at 04:54:46AM -0400, Bo Liu wrote:
> Remove the repeated word "the" in comments.
"... in highmap_start_pfn() comment".
> * 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!
--
An old man doll... just what I always wanted! - Clara
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.
Signed-off-by: Bo Liu <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
---
arch/x86/mm/pat/set_memory.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/mm/pat/set_memory.c b/arch/x86/mm/pat/set_memory.c
index 7159cf7..b18fe0d 100644
--- a/arch/x86/mm/pat/set_memory.c
+++ b/arch/x86/mm/pat/set_memory.c
@@ -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.