mm/hugetlb: Fix a typo in comment "manitained"->"maintained"
Subsystems (2)
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
@@ -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)
Quoted 3 lines · Ethon Paul
There is a typo in comment, fix it.
Signed-off-by Ethon Paul <[email protected]>
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
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
Quoted 27 lines · Ethon Paul
Quoted 3 lines
There is a typo in comment, fix it.
Signed-off-by Ethon Paul <[email protected]>Looks good but you could add a few more fixes for typos below. Either way,
Reviewed-by Ralph Campbell <[email protected]>Quoted 17 lines
---
mm/hugetlb.c| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)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,
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.