diff options
author | 2023-05-18 10:55:18 -0400 | |
---|---|---|
committer | 2023-06-09 16:25:29 -0700 | |
commit | e6d6792a5c5156c60e9e4fea7d3bd5c5fec4d872 (patch) | |
tree | c9e56ff6ee7e0b4bf10229676fa4e1a4eb5d33ca /lib/test_maple_tree.c | |
parent | maple_tree: change RCU checks to WARN_ON() instead of BUG_ON() (diff) | |
download | wireguard-linux-e6d6792a5c5156c60e9e4fea7d3bd5c5fec4d872.tar.xz wireguard-linux-e6d6792a5c5156c60e9e4fea7d3bd5c5fec4d872.zip |
maple_tree: convert debug code to use MT_WARN_ON() and MAS_WARN_ON()
Using MT_WARN_ON() allows for the removal of if statements before logging.
Using MAS_WARN_ON() will provide more information when issues are
encountered.
Link: https://lkml.kernel.org/r/20230518145544.1722059-10-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