diff options
author | Liam R. Howlett <[email protected]> | 2023-05-18 10:55:28 -0400 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-06-09 16:25:31 -0700 |
commit | eaf9790d3bc6e157a2134c01c7d707a5a712fab1 (patch) | |
tree | 583a4894a98e3126b32b0bb24779bde7075d1b80 /tools/testing/radix-tree/linux | |
parent | 36bd931049bf93a4eaec4a558beca477db152881 (diff) |
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/[email protected]
Signed-off-by: Liam R. Howlett <[email protected]>
Suggested-by: Andrew Morton <[email protected]>
Cc: David Binderman <[email protected]>
Cc: Peng Zhang <[email protected]>
Cc: Sergey Senozhatsky <[email protected]>
Cc: Vernon Yang <[email protected]>
Cc: Wei Yang <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/linux')
-rw-r--r-- | tools/testing/radix-tree/linux/init.h | 1 |
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 |