summaryrefslogtreecommitdiff
path: root/mm/kmemleak.c
diff options
context:
space:
mode:
authorVernon Yang <vernon2gm@gmail.com>2022-12-21 09:00:54 +0300
committerAndrew Morton <akpm@linux-foundation.org>2023-01-19 04:12:46 +0300
commitbd592703b81a95473f6a01fe731beccd0992236e (patch)
tree83fa2bdb911dd15e832191914810c4a1d29499ef /mm/kmemleak.c
parentd56c593c8e128c42dc81707c07cbd5af41862214 (diff)
downloadlinux-bd592703b81a95473f6a01fe731beccd0992236e.tar.xz
maple_tree: use mt_node_max() instead of direct operations mt_max[]
Use mt_node_max() to get the maximum number of slots for a node, rather than direct operations mt_max[], makes it better portability. Link: https://lkml.kernel.org/r/20221221060058.609003-4-vernon2gm@gmail.com Signed-off-by: Vernon Yang <vernon2gm@gmail.com> Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/kmemleak.c')
0 files changed, 0 insertions, 0 deletions