Re: [PATCH] mm/hugetlb: Fix a typo in comment "manitained"->"maintained"

From: Ralph Campbell
Date: Fri Apr 10 2020 - 14:47:15 EST



On 4/10/20 9:37 AM, Ethon Paul wrote:
There is a typo in comment, fix it.

Signed-off-by: Ethon Paul <ethp@xxxxxx>

Looks good but you could add a few more fixes for typos below.
Either way,
Reviewed-by: Ralph Campbell <rcampbell@xxxxxxxxxx>

---
mm/hugetlb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/hugetlb.c b/mm/hugetlb.c
index f5fb53fdfa02..8c979854c0a0 100644
--- a/mm/hugetlb.c
+++ b/mm/hugetlb.c
@@ -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