diff options
author | Xiu Jianfeng <xiujianfeng@huawei.com> | 2022-09-15 03:16:02 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-10-03 23:03:27 +0200 |
commit | 1ea41595f606e21ba422c59dcdc637f9a9513f2e (patch) | |
tree | ec4fe5b87ab26b78f43cd5fc259ee4e55864c571 /mm/secretmem.c | |
parent | mm/damon/lru_sort: change damon_lru_sort_wmarks to static (diff) | |
download | linux-1ea41595f606e21ba422c59dcdc637f9a9513f2e.tar.xz linux-1ea41595f606e21ba422c59dcdc637f9a9513f2e.zip |
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/20220915011602.176967-1-xiujianfeng@huawei.com
Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
Cc: Mike Rapoport <rppt@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/secretmem.c')
-rw-r--r-- | mm/secretmem.c | 2 |
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; |