Commit 6989808e authored by Tobin C. Harding's avatar Tobin C. Harding Committed by Shuah Khan

lib/test_printf: Add empty module_exit function

Currently the test_printf module does not have an exit function, this
prevents the module from being unloaded.  If we cannot unload the
module we cannot run the tests a second time.

Add an empty exit function.
Acked-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarTobin C. Harding <tobin@kernel.org>
Signed-off-by: default avatarShuah Khan <shuah@kernel.org>
parent 6f9e64b0
......@@ -615,5 +615,11 @@ test_printf_init(void)
module_init(test_printf_init);
static void __exit test_printf_exit(void)
{
}
module_exit(test_printf_exit);
MODULE_AUTHOR("Rasmus Villemoes <linux@rasmusvillemoes.dk>");
MODULE_LICENSE("GPL");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment