From: "Liam R. Howlett" <Liam.Howlett@oracle.com>
To: I Hsin Cheng <richard120310@gmail.com>
Cc: akpm@linux-foundation.org, maple-tree@lists.infradead.org,
linux-mm@kvack.org, linux-kernel@vger.kernel.org,
jserv@ccns.ncku.edu.tw, skhan@linuxfoundation.org
Subject: Re: [PATCH] maple_tree: Correct comment for mas_start()
Date: Mon, 10 Feb 2025 09:35:39 -0500 [thread overview]
Message-ID: <2klvs7hjwnrmazulgmu2dnqtjwpg37iynwidvronk52sedrbt3@4nnt5x4wzzoq> (raw)
In-Reply-To: <20250209181023.228856-1-richard120310@gmail.com>
* I Hsin Cheng <richard120310@gmail.com> [250209 13:10]:
> There's no mas->status of "mas_start", what the function is checking is
> whether mas->status equals to "ma_start". Correct the comment for the
> function.
>
> Signed-off-by: I Hsin Cheng <richard120310@gmail.com>
Reviewed-by: Liam R. Howlett <howlett@gmail.com>
> ---
> lib/maple_tree.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/maple_tree.c b/lib/maple_tree.c
> index f7153ade1be5..42c65974a56c 100644
> --- a/lib/maple_tree.c
> +++ b/lib/maple_tree.c
> @@ -1353,7 +1353,7 @@ static void mas_node_count(struct ma_state *mas, int count)
> * mas_start() - Sets up maple state for operations.
> * @mas: The maple state.
> *
> - * If mas->status == mas_start, then set the min, max and depth to
> + * If mas->status == ma_start, then set the min, max and depth to
> * defaults.
> *
> * Return:
> --
> 2.43.0
>
prev parent reply other threads:[~2025-02-10 14:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-09 18:10 I Hsin Cheng
2025-02-10 14:35 ` Liam R. Howlett [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2klvs7hjwnrmazulgmu2dnqtjwpg37iynwidvronk52sedrbt3@4nnt5x4wzzoq \
--to=liam.howlett@oracle.com \
--cc=akpm@linux-foundation.org \
--cc=jserv@ccns.ncku.edu.tw \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=maple-tree@lists.infradead.org \
--cc=richard120310@gmail.com \
--cc=skhan@linuxfoundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox