]> 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>
Wed, 29 Mar 2023 22:58:39 +0000 (18:58 -0400)
commit4b45c6ef31fb512ab32cb99fbf2196353935ee40
tree9d2a588dd41c20de776389d844190dcdf7e05537
parent831bb33a6d18f0d837073890123240597a72846b
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