]> 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, 13 Feb 2023 13:42:04 +0000 (08:42 -0500)
commit8e040c1598228d456f788cc063705ea40b7dfdb6
treee3fd1a3e1e1c1cac0ffede450dd79bef8dbb1791
parent737410ffc4c635bad2f0e7c8231e45ecc5c98331
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