]> 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>
Tue, 13 Dec 2022 21:22:37 +0000 (16:22 -0500)
commit422c8b25c585509762b3e186340a87ceea4bdd1f
tree6361b0990bd1330c2f8f681ead90603cf0a9d21d
parent5dfc819cee0c8a021828d68c897d68bde23e51fe
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() 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/maple_tree.c
lib/test_maple_tree.c