projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e47b082
)
mm/secretmem: add __init annotation to secretmem_init()
author
Xiu Jianfeng
<xiujianfeng@huawei.com>
Thu, 15 Sep 2022 01:16:02 +0000
(09:16 +0800)
committer
Andrew Morton
<akpm@linux-foundation.org>
Mon, 3 Oct 2022 21:03:27 +0000
(14:03 -0700)
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>
mm/secretmem.c
patch
|
blob
|
history
diff --git
a/mm/secretmem.c
b/mm/secretmem.c
index
3f71540
..
6a44efb
100644
(file)
--- 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;