]> 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, 13 Feb 2023 13:42:04 +0000 (08:42 -0500)
commitf929a6d005c773492bd4d494478fced2ac5f8256
tree30e11f2ad01f1d1f7fbc6422dec7fd3b34e7f50d
parent44574f387a2ee6e3cf5c87bea010116956d28f69
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