aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiu Jianfeng <[email protected]>2022-09-15 09:16:02 +0800
committerAndrew Morton <[email protected]>2022-10-03 14:03:27 -0700
commit1ea41595f606e21ba422c59dcdc637f9a9513f2e (patch)
treeec4fe5b87ab26b78f43cd5fc259ee4e55864c571
parente47b082579f307d0367b1fb7ca3698fd9c73a88b (diff)
mm/secretmem: add __init annotation to secretmem_init()
It's a fs_initcall entry, add __init annotation to it. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Xiu Jianfeng <[email protected]> Cc: Mike Rapoport <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
-rw-r--r--mm/secretmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/secretmem.c b/mm/secretmem.c
index 3f7154099795..6a44efb673b2 100644
--- a/mm/secretmem.c
+++ b/mm/secretmem.c
@@ -276,7 +276,7 @@ static struct file_system_type secretmem_fs = {
.kill_sb = kill_anon_super,
};
-static int secretmem_init(void)
+static int __init secretmem_init(void)
{
int ret = 0;