summaryrefslogtreecommitdiff
path: root/tools/testing
diff options
context:
space:
mode:
authorLiam R. Howlett <Liam.Howlett@oracle.com>2023-05-12 14:20:16 -0400
committerAndrew Morton <akpm@linux-foundation.org>2023-05-16 16:30:27 -0700
commita1798de52aa5a3b39de1cbdf414652aff73d8aa3 (patch)
tree43bab8067308bbc6c2fb0d0de7daf3afbfaefb20 /tools/testing
parent42d40a24852df06ca5e9562a834b8fc45370b903 (diff)
downloadlinux-next-a1798de52aa5a3b39de1cbdf414652aff73d8aa3.tar.gz
maple_tree: return error on mte_pivots() out of range
Rename mte_pivots() to mas_pivots() and pass through the ma_state to set the error code to -EIO when the offset is out of range for the node type. Change the WARN_ON() to MAS_WARN_ON() to log the maple state. Link: https://lkml.kernel.org/r/20230512182036.359030-16-Liam.Howlett@oracle.com Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> Reviewed-by: Peng Zhang <zhangpeng.00@bytedance.com> Cc: David Binderman <dcb314@hotmail.com> Cc: Sergey Senozhatsky <senozhatsky@chromium.org> Cc: Vernon Yang <vernon2gm@gmail.com> Cc: Wei Yang <richard.weiyang@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions