diff options
| author | Vernon Yang <vernon2gm@gmail.com> | 2022-12-21 14:00:54 +0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2023-01-18 17:12:46 -0800 |
| commit | bd592703b81a95473f6a01fe731beccd0992236e (patch) | |
| tree | 83fa2bdb911dd15e832191914810c4a1d29499ef /lib/mpi/mpi-sub-ui.c | |
| parent | d56c593c8e128c42dc81707c07cbd5af41862214 (diff) | |
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 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
