diff options
author | Xiu Jianfeng <xiujianfeng@huawei.com> | 2022-09-11 11:47:47 +0800 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2022-09-29 18:04:25 +0100 |
commit | 8c6e3657be6b39cd5943041d0a4ab6bd5d0c2258 (patch) | |
tree | c9041e68a19d49e9baecfdff7c3d8c805ea7def6 | |
parent | b9dd04a20f81333e4b99662f1bbaf7c9e3a1e137 (diff) |
ARM64: reloc_test: add __init/__exit annotations to module init/exit funcs
Add missing __init/__exit annotations to module init/exit funcs.
Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
Link: https://lore.kernel.org/r/20220911034747.132098-1-xiujianfeng@huawei.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
-rw-r--r-- | arch/arm64/kernel/reloc_test_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/kernel/reloc_test_core.c b/arch/arm64/kernel/reloc_test_core.c index e87a2b7f20f6..99f2ffe9fc05 100644 --- a/arch/arm64/kernel/reloc_test_core.c +++ b/arch/arm64/kernel/reloc_test_core.c @@ -48,7 +48,7 @@ static struct { { "R_AARCH64_PREL16", relative_data16, (u64)&sym64_rel }, }; -static int reloc_test_init(void) +static int __init reloc_test_init(void) { int i; @@ -67,7 +67,7 @@ static int reloc_test_init(void) return 0; } -static void reloc_test_exit(void) +static void __exit reloc_test_exit(void) { } |