summaryrefslogtreecommitdiffstats
path: root/tools/testing/radix-tree/linux
diff options
context:
space:
mode:
authorLiam R. Howlett <Liam.Howlett@oracle.com>2023-05-18 10:55:28 -0400
committerAndrew Morton <akpm@linux-foundation.org>2023-06-09 16:25:31 -0700
commiteaf9790d3bc6e157a2134c01c7d707a5a712fab1 (patch)
tree583a4894a98e3126b32b0bb24779bde7075d1b80 /tools/testing/radix-tree/linux
parent36bd931049bf93a4eaec4a558beca477db152881 (diff)
downloadlinux-stable-eaf9790d3bc6e157a2134c01c7d707a5a712fab1.tar.gz
linux-stable-eaf9790d3bc6e157a2134c01c7d707a5a712fab1.tar.bz2
linux-stable-eaf9790d3bc6e157a2134c01c7d707a5a712fab1.zip
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. Link: https://lkml.kernel.org/r/20230518145544.1722059-20-Liam.Howlett@oracle.com Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> Suggested-by: Andrew Morton <akpm@linux-foundation.org> Cc: David Binderman <dcb314@hotmail.com> Cc: Peng Zhang <zhangpeng.00@bytedance.com> Cc: Sergey Senozhatsky <senozhatsky@chromium.org> Cc: Vernon Yang <vernon2gm@gmail.com> Cc: Wei Yang <richard.weiyang@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/testing/radix-tree/linux')
-rw-r--r--tools/testing/radix-tree/linux/init.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/radix-tree/linux/init.h b/tools/testing/radix-tree/linux/init.h
index 1bb0afc21309..81563c3dfce7 100644
--- a/tools/testing/radix-tree/linux/init.h
+++ b/tools/testing/radix-tree/linux/init.h
@@ -1 +1,2 @@
#define __init
+#define __exit