[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aa7ad39528c768dfd3a33890cf7d14b59ba3a5fc.camel@perches.com>
Date: Fri, 26 Nov 2021 00:15:04 -0800
From: Joe Perches <joe@...ches.com>
To: Colin Ian King <colin.i.king@...glemail.com>,
Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org
Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] hugetlb: Fix spelling mistake "hierarichal" ->
"hierarchical"
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.
Powered by blists - more mailing lists