]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: index has been checked to be smaller than pivot
authorWei Yang <richard.weiyang@gmail.com>
Sat, 16 Nov 2024 01:48:03 +0000 (01:48 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 14 Jan 2025 06:40:39 +0000 (22:40 -0800)
commit5f8db8d428807e52c816610e8acea576f856eb6d
tree21de323bf4c6ae6c594b535437da8f0e75bba699
parent1168b2bec7660f5146de7b14c14b52417e900d18
maple_tree: index has been checked to be smaller than pivot

Patch series "mas_anode_descend() related cleanup".

Some cleanup related to mas_anode_descend().

This patch (of 3):

At the beginning of loop, it has checked the range is in lower bounds.

Link: https://lkml.kernel.org/r/20241116014805.11547-1-richard.weiyang@gmail.com
Link: https://lkml.kernel.org/r/20241116014805.11547-2-richard.weiyang@gmail.com
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Cc: Sidhartha Kumar <sidhartha.kumar@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/maple_tree.c