Skip to content

Commit

Permalink
maple_tree: add __init and __exit to test module
Browse files Browse the repository at this point in the history
[ Upstream commit eaf9790 ]

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>
Stable-dep-of: 7a93c71 ("maple_tree: fix 32 bit mas_next testing")
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
howlett authored and gregkh committed Aug 3, 2023
1 parent cba7ddf commit 1b6e874
Show file tree
Hide file tree
Showing 3 changed files with 155 additions and 151 deletions.

0 comments on commit 1b6e874

Please sign in to comment.