mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:46:16 +00:00
kasan: rename test_kasan_module_init to kasan_test_module_init
After commit f7e01ab828
("kasan: move tests to mm/kasan/"), the test
module file is renamed from lib/test_kasan_module.c to
mm/kasan/kasan_test_module.c, in order to keep consistent, rename
test_kasan_module_init to kasan_test_module_init.
Link: https://lkml.kernel.org/r/20240205060925.15594-3-yangtiezhu@loongson.cn
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Acked-by: Marco Elver <elver@google.com>
Reviewed-by: Andrey Konovalov <andreyknvl@gmail.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
d831091484
commit
be142b8080
@ -62,7 +62,7 @@ static noinline void __init copy_user_test(void)
|
||||
kfree(kmem);
|
||||
}
|
||||
|
||||
static int __init test_kasan_module_init(void)
|
||||
static int __init kasan_test_module_init(void)
|
||||
{
|
||||
/*
|
||||
* Temporarily enable multi-shot mode. Otherwise, KASAN would only
|
||||
@ -77,5 +77,5 @@ static int __init test_kasan_module_init(void)
|
||||
return -EAGAIN;
|
||||
}
|
||||
|
||||
module_init(test_kasan_module_init);
|
||||
module_init(kasan_test_module_init);
|
||||
MODULE_LICENSE("GPL");
|
||||
|
Loading…
Reference in New Issue
Block a user