Skip to contentSkip to conversation

mm/hugetlb: Fix a typo in comment "manitained"->"maintained"

PATCH Applied Ethon Paul 2 participants 3 messages Apr 10, 2020 – Apr 11, 2020

Subsystems (2)

v1 of 2 Applied 1/1 Latest is v2 →

lore
Share & tools
lore

Ethon Paul

author
#0 lore raw

PATCH 1/1 mm/hugetlb: Fix a typo in comment "manitained"->"maintained"

There is a typo in comment, fix it.

---
 mm/hugetlb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/hugetlb.c +1 -1
index f5fb53fdfa02..8c979854c0a0 100644
@@ -129,7 +129,7 @@ void hugepage_put_subpool(struct hugepage_subpool *spool)
  * the request.  Otherwise, return the number of pages by which the
  * global pools must be adjusted (upward).  The returned value may
  * only be different than the passed value (delta) in the case where
- * a subpool minimum size must be manitained.
+ * a subpool minimum size must be maintained.
  */
 static long hugepage_subpool_get_pages(struct hugepage_subpool *spool,
 				      long delta)
Signature · 1 line
2.24.1 (Apple Git-126)
Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Ethon Paul

There is a typo in comment, fix it.

Looks good but you could add a few more fixes for typos below. Either way,

Quoted 10 lines
---
  mm/hugetlb.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
mm/hugetlb.c +0 -0
index f5fb53fdfa02..8c979854c0a0 100644

mm/hugetlb.c void hugepage_put_subpool(struct hugepage_subpool *spool) · line 135

Quoted 8 lines
mm/hugetlb.c +1 -1
@@ -129,7 +129,7 @@ void hugepage_put_subpool(struct hugepage_subpool *spool)
   * the request.  Otherwise, return the number of pages by which the
   * global pools must be adjusted (upward).  The returned value may
   * only be different than the passed value (delta) in the case where
- * a subpool minimum size must be manitained.
+ * a subpool minimum size must be maintained.
   */
  static long hugepage_subpool_get_pages(struct hugepage_subpool *spool,
  				      long delta)

line 83, s/mased on/based on
line 472, s/ruturns/returns
line 987, s/reverves/reserves
line 1489, s/ Otherwse/Otherwise,
line 4431, s/a active/an active

author
#2 lore raw
Quoted 27 lines · Ethon Paul
Quoted 3 lines

There is a typo in comment, fix it.

Looks good but you could add a few more fixes for typos below. Either way,

Quoted 17 lines

---
  mm/hugetlb.c | 2 +-

  1 file changed, 1 insertion(+), 1 deletion(-)
mm/hugetlb.c +1 -1
index f5fb53fdfa02..8c979854c0a0 100644
@@ -129,7 +129,7 @@ void hugepage_put_subpool(struct hugepage_subpool 
 *spool)
    * the request.  Otherwise, return the number of pages by which the
    * global pools must be adjusted (upward).  The returned value may
    * only be different than the passed value (delta) in the case where
- * a subpool minimum size must be manitained.
+ * a subpool minimum size must be maintained.
    */
   static long hugepage_subpool_get_pages(struct hugepage_subpool *spool,
Quoted 8 lines
Quoted 2 lines

                        long delta)

line 83, s/mased on/based on
line 472, s/ruturns/returns
line 987, s/reverves/reserves
line 1489, s/ Otherwse/Otherwise,
line 4431, s/a active/an active

Get that. Actually, I didn't find them.

Thanks.