diff options
author | 2023-05-18 10:55:15 -0400 | |
---|---|---|
committer | 2023-06-09 16:25:28 -0700 | |
commit | f0a1f866aba1ca62ef6f17d1c441eba65f2d6845 (patch) | |
tree | 9ee27204dd3cb994f7a947d66f22814d577f4338 /lib/test_maple_tree.c | |
parent | maple_tree: add format option to mt_dump() (diff) | |
download | linux-rng-f0a1f866aba1ca62ef6f17d1c441eba65f2d6845.tar.xz linux-rng-f0a1f866aba1ca62ef6f17d1c441eba65f2d6845.zip |
maple_tree: add debug BUG_ON and WARN_ON variants
Add debug macros to dump the maple state and/or the tree for both warning
and bug_on calls.
Link: https://lkml.kernel.org/r/20230518145544.1722059-7-Liam.Howlett@oracle.com
Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Cc: David Binderman <dcb314@hotmail.com>
Cc: Peng Zhang <zhangpeng.00@bytedance.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 'lib/test_maple_tree.c')
0 files changed, 0 insertions, 0 deletions