* [PATCH] mm/hugetlb: Fix a typo in comment "manitained"->"maintained"
@ 2020-04-10 16:37 Ethon Paul
2020-04-10 18:42 ` Ralph Campbell
0 siblings, 1 reply; 3+ messages in thread
From: Ethon Paul @ 2020-04-10 16:37 UTC (permalink / raw)
To: akpm, linux-mm, linux-kernel; +Cc: Ethon Paul
There is a typo in comment, fix it.
Signed-off-by: Ethon Paul <ethp@qq.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)
--
2.24.1 (Apple Git-126)
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] mm/hugetlb: Fix a typo in comment "manitained"->"maintained"
2020-04-10 16:37 [PATCH] mm/hugetlb: Fix a typo in comment "manitained"->"maintained" Ethon Paul
@ 2020-04-10 18:42 ` Ralph Campbell
2020-04-11 1:36 ` Ethon Paul
0 siblings, 1 reply; 3+ messages in thread
From: Ralph Campbell @ 2020-04-10 18:42 UTC (permalink / raw)
To: Ethon Paul, akpm, linux-mm, linux-kernel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] mm/hugetlb: Fix a typo in comment "manitained"->"maintained"
2020-04-10 18:42 ` Ralph Campbell
@ 2020-04-11 1:36 ` Ethon Paul
0 siblings, 0 replies; 3+ messages in thread
From: Ethon Paul @ 2020-04-11 1:36 UTC (permalink / raw)
To: Ralph Campbell, Ethon Paul, akpm, linux-mm, linux-kernel
>
> 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
Get that. Actually, I didn't find them.
Thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-04-11 1:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-10 16:37 [PATCH] mm/hugetlb: Fix a typo in comment "manitained"->"maintained" Ethon Paul
2020-04-10 18:42 ` Ralph Campbell
2020-04-11 1:36 ` Ethon Paul
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).