linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm/secretmem: add __init annotation to secretmem_init()
@ 2022-09-15  1:16 Xiu Jianfeng
  0 siblings, 0 replies; only message in thread
From: Xiu Jianfeng @ 2022-09-15  1:16 UTC (permalink / raw)
  To: akpm; +Cc: linux-mm, linux-kernel

It's a fs_initcall entry, add __init annotation to it.

Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
---
 mm/secretmem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
 
-- 
2.17.1



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-09-15  1:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-15  1:16 [PATCH] mm/secretmem: add __init annotation to secretmem_init() Xiu Jianfeng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox