lkml.org 
[lkml]   [2020]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] mm/hugetlb: Fix a typo in comment "manitained"->"maintained"
From
Date

On 4/10/20 9:37 AM, Ethon Paul wrote:
> There is a typo in comment, fix it.
>
> Signed-off-by: Ethon Paul <ethp@qq.com>

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

> ---
> 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

\
 
 \ /
  Last update: 2020-04-10 20:43    [W:0.090 / U:0.516 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site