Skip to contentSkip to conversation

mm/highmem: fix spelling mistakeo

PATCH In review Deming Wang 3 participants 5 messages Jan 18, 2023 – Jan 19, 2023

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

PATCH 1/1 mm/highmem: fix spelling mistakeo

Substitute occurrencies of "higmem" with "highmem".

---
 Documentation/mm/highmem.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/mm/highmem.rst +1 -1
index 59d1078f53df..7da4a0d175f0 100644
@@ -83,7 +83,7 @@ list shows them in order of preference of use.
   for pages which are known to not come from ZONE_HIGHMEM. However, it is
   always safe to use kmap_local_page() / kunmap_local().
 
-  While it is significantly faster than kmap(), for the higmem case it
+  While it is significantly faster than kmap(), for the highmem case it
   comes with restrictions about the pointers validity. Contrary to kmap()
   mappings, the local mappings are only valid in the context of the caller
   and cannot be handed to other contexts. This implies that users must
Signature · 1 line
2.27.0
#1 lore raw
Quoted 12 lines · Deming Wang

Substitute occurrencies of "higmem" with "highmem".

---
 Documentation/mm/highmem.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/mm/highmem.rst +0 -0
index 59d1078f53df..7da4a0d175f0 100644

Documentation/mm/highmem.rst list shows them in order of preference of use. · line 89

Quoted 8 lines
Documentation/mm/highmem.rst +1 -1
@@ -83,7 +83,7 @@ list shows them in order of preference of use.
   for pages which are known to not come from ZONE_HIGHMEM. However, it is
   always safe to use kmap_local_page() / kunmap_local().
 
-  While it is significantly faster than kmap(), for the higmem case it
+  While it is significantly faster than kmap(), for the highmem case it
   comes with restrictions about the pointers validity. Contrary to kmap()
   mappings, the local mappings are only valid in the context of the caller
   and cannot be handed to other contexts. This implies that users must

Are you sure you have seen the other occurences of higmem in the same doc? If so, do s/higmem/highmem/g.

Also, the patch subject prefix should have been Documentation: mm:
highmem, and also s/mistakeo/mistake/ in the subject.

Thanks.

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

Hi,

I find only one typo about higmem. And I have modified the subject.

Thanks

Quoted 37 lines

send: Bagas Sanjaya <[email protected]>
time: 2023年1月18日 10:21
to: tomorrow Wang (王德明) <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
subject: Re: [PATCH] mm/highmem: fix spelling mistakeo

Quoted 9 lines · Deming Wang

Substitute occurrencies of "higmem" with "highmem".

---
 Documentation/mm/highmem.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
(quoted diff) +0 -0

b/Documentation/mm/highmem.rst index 59d1078f53df..7da4a0d175f0

100644

Documentation/mm/highmem.rst list shows them in order of preference of use. · line 83

Quoted 4 lines
Documentation/mm/highmem.rst +0 -0
@@ -83,7 +83,7 @@ list shows them in order of preference of use.
   for pages which are known to not come from ZONE_HIGHMEM. However,

it is

Quoted 10 lines
Documentation/mm/highmem.rst +0 -1
   always safe to use kmap_local_page() / kunmap_local().
 
-  While it is significantly faster than kmap(), for the higmem case

it
+ While it is significantly faster than kmap(), for the highmem case
+ it
comes with restrictions about the pointers validity. Contrary to kmap() mappings, the local mappings are only valid in the context of the caller and cannot be handed to other contexts. This implies that users
must

Are you sure you have seen the other occurences of higmem in the same doc? If so, do s/higmem/highmem/g.

Quoted 7 lines

Also, the patch subject prefix should have been Documentation: mm:
highmem, and also s/mistakeo/mistake/ in the subject.

Thanks.

--
An old man doll... just what I always wanted! - Clara

From 97b1ab6a569d7517819f9deff63ec3e7c96879c7 Mon Sep 17 00:00:00 2001
From: Deming Wang <[email protected]>
Date: Wed, 18 Jan 2023 10:27:03 +0800
Subject: [PATCH] Documentation: mm: use s/higmem/highmem/ fix typo for
highmem

We should use highmem replace higmem.

---
 Documentation/mm/highmem.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/mm/highmem.rst +1 -1
index 59d1078f53df..7da4a0d175f0 100644
@@ -83,7 +83,7 @@ list shows them in order of preference of use.
   for pages which are known to not come from ZONE_HIGHMEM. However, it is
   always safe to use kmap_local_page() / kunmap_local().
 
-  While it is significantly faster than kmap(), for the higmem case it
+  While it is significantly faster than kmap(), for the highmem case it
   comes with restrictions about the pointers validity. Contrary to kmap()
   mappings, the local mappings are only valid in the context of the caller
   and cannot be handed to other contexts. This implies that users must
Signature · 1 line
2.27.0
#3 lore raw
Quoted 4 lines · tomorrow Wang (王德明)

Hi,

I find only one typo about higmem. And I have modified the subject.

You send your patch as attachment, please send it inline instead with git-send-email(1).

Also, please don't top-post; reply inline with appropriate context instead.

Thanks.

Signature · 1 line
An old man doll... just what I always wanted! - Clara
#4 lore raw
In reply to Deming Wang
Quoted 1 line · On mercoledì 18 gennaio 2023 01:43:56 CET Deming Wang wrote:

Substitute occurrencies of "higmem" with "highmem".

s/occurrencies/occurrences

Quoted 19 lines
---
 Documentation/mm/highmem.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/mm/highmem.rst +1 -2
index 59d1078f53df..7da4a0d175f0 100644
@@ -83,7 +83,7 @@ list shows them in order of preference of use.
   for pages which are known to not come from ZONE_HIGHMEM. However, it is
   always safe to use kmap_local_page() / kunmap_local().
 
-  While it is significantly faster than kmap(), for the higmem case it
+  While it is significantly faster than kmap(), for the highmem case it
   comes with restrictions about the pointers validity. Contrary to kmap()
   mappings, the local mappings are only valid in the context of the caller
   and cannot be handed to other contexts. This implies that users must
--
Quoted 1 line

2.27.0

I think you missed a patch which is already in Andrew's -mm-unstable tree:

[PATCH] mm: Fix two spelling mistakes in highmem.h
https://lore.kernel.org/lkml/[email protected]/

Fabio