]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Make test code work without debug enabled
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Thu, 1 Dec 2022 16:48:12 +0000 (11:48 -0500)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Mon, 24 Apr 2023 15:40:44 +0000 (11:40 -0400)
commit206f3a44c4f86107d6aa9bee5a1e8e23c806f97c
tree8c2ef7999842420f3b34dbf9b8b3696fa7e885a7
parent0d13eefa55a7438f4e0b5a32edf538ccbb4ade05
maple_tree: Make test code work without debug enabled

The test code is less useful without debug, but can still do general
validations.  Define mt_dump(), mas_dump() and mas_wr_dump() as a noop
if debug is not enabled and document it in the test module information
that more information can be obtained with another kernel config option.

Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
lib/Kconfig.debug
lib/test_maple_tree.c
tools/testing/radix-tree/maple.c