mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -next] block/swim3: add __init annotation to module init func
@ 2022-09-26  9:22 ruanjinjie
  2022-09-26 17:37 ` Christophe JAILLET
  0 siblings, 1 reply; 2+ messages in thread
From: ruanjinjie @ 2022-09-26  9:22 UTC (permalink / raw)
  To: axboe, linux-block, linux-kernel; +Cc: ruanjinjie

Add missing __init annotation to module init func.

Signed-off-by: ruanjinjie <ruanjinjie@huawei.com>
---
 drivers/block/swim3.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/block/swim3.c b/drivers/block/swim3.c
index da811a7da03f..1f65d506fbc9 100644
--- a/drivers/block/swim3.c
+++ b/drivers/block/swim3.c
@@ -1278,7 +1278,7 @@ static struct macio_driver swim3_driver =
 };
 
 
-int swim3_init(void)
+int __init swim3_init(void)
 {
 	macio_register_driver(&swim3_driver);
 	return 0;
-- 
2.25.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-26 17:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-26  9:22 [PATCH -next] block/swim3: add __init annotation to module init func ruanjinjie
2022-09-26 17:37 ` Christophe JAILLET

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

all inboxes | Powered by JetHome®