lkml.org 
[lkml]   [2021]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: [PATCH][next] hugetlb: Fix spelling mistake "hierarichal" -> "hierarchical"
From
Date
On Thu, 2021-11-25 at 09:06 +0000, Colin Ian King wrote:
> There is a spelling mistake in a literal string and a comment. Fix them.
[]
> diff --git a/mm/hugetlb_cgroup.c b/mm/hugetlb_cgroup.c
[]
> @@ -495,11 +495,11 @@ static int hugetlb_cgroup_read_numa_stat(struct seq_file *seq, void *dummy)
> * The hierarchical total is pretty much the value recorded by the
> * counter, so use that.
> */
> - seq_printf(seq, "%stotal=%lu", legacy ? "hierarichal_" : "",
> + seq_printf(seq, "%stotal=%lu", legacy ? "hierarchical_" : "",
> page_counter_read(&h_cg->hugepage[idx]) * PAGE_SIZE);

Not sure this should be changed as seq output is nominally ABI.

>
> /*
> - * For each node, transverse the css tree to obtain the hierarichal
> + * For each node, transverse the css tree to obtain the hierarchical

Fixing the comment typo is good. Thanks.


\
 
 \ /
  Last update: 2021-11-26 09:19    [W:0.060 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site