]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: fix comment typo of ma_root
authorWei Yang <richard.weiyang@gmail.com>
Mon, 12 Aug 2024 15:09:24 +0000 (15:09 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 17 Aug 2024 00:53:12 +0000 (17:53 -0700)
commit6c7667450ee57c63e8e5743b0eb14e3ea282800c
treea4dfab816b8bddc77c40b837184c8e7bf4b87dd3
parent3f0ffdafe3dde6d8955ff79fef4c8306e3047575
maple_tree: fix comment typo of ma_root

In comment of mas_start(), we lists the return value for different cases.
In case of a single entry, we set mas->status to ma_root, while the
comment uses mas_root, which is not a maple_status.

Fix the typo according to the code.

Link: https://lkml.kernel.org/r/20240812150925.31551-1-richard.weiyang@gmail.com
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/maple_tree.c