]> 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>
Thu, 27 Apr 2023 01:40:54 +0000 (21:40 -0400)
commit6f4c2a222e9c750cc7aa1c99e10bf3f10d326edf
tree0c693404a4386327d80194d02d0b37e58547beee
parentb2de6d4cc36ee23513d7793dd9294dbb820041bb
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