Skip to content

Commit 8c6e365

Browse files
Xiu Jianfengctmarinas
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
1 parent b9dd04a commit 8c6e365

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/arm64/kernel/reloc_test_core.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ static struct {
4848
{ "R_AARCH64_PREL16", relative_data16, (u64)&sym64_rel },
4949
};
5050

51-
static int reloc_test_init(void)
51+
static int __init reloc_test_init(void)
5252
{
5353
int i;
5454

@@ -67,7 +67,7 @@ static int reloc_test_init(void)
6767
return 0;
6868
}
6969

70-
static void reloc_test_exit(void)
70+
static void __exit reloc_test_exit(void)
7171
{
7272
}
7373

0 commit comments

Comments
 (0)