]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Add __init and __exit to test module
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Thu, 2 Feb 2023 16:16:24 +0000 (11:16 -0500)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Mon, 24 Apr 2023 20:20:42 +0000 (16:20 -0400)
commit0c221eb58467cfe26d43f790f26e91573127174b
treef0c90e82316794c720bd2dfe3dfc3424eda2ca53
parent3af6cff26a902bfb3820a79e1df31f84b29a8cc4
maple_tree: Add __init and __exit to test module

The test functions are not needed after the module is removed, so mark
them as such.  Add __exit to the module removal function.  Some other
variables have been marked as const static as well.

Suggested-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
lib/test_maple_tree.c
tools/testing/radix-tree/linux/init.h
tools/testing/radix-tree/maple.c