[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20220911025238.22467-1-xiujianfeng@huawei.com>
Date: Sun, 11 Sep 2022 10:52:38 +0800
From: Xiu Jianfeng <xiujianfeng@...wei.com>
To: <richard@....at>, <anton.ivanov@...bridgegreys.com>,
<johannes@...solutions.net>
CC: <linux-um@...ts.infradead.org>, <linux-kernel@...r.kernel.org>
Subject: [PATCH -next] um: mmaper: add __exit annotations to module exit funcs
Add missing __exit annotations to module exit funcs.
Signed-off-by: Xiu Jianfeng <xiujianfeng@...wei.com>
---
arch/um/drivers/mmapper_kern.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/um/drivers/mmapper_kern.c b/arch/um/drivers/mmapper_kern.c
index 0bf78ff89011..807cd3358740 100644
--- a/arch/um/drivers/mmapper_kern.c
+++ b/arch/um/drivers/mmapper_kern.c
@@ -122,7 +122,7 @@ static int __init mmapper_init(void)
return 0;
}
-static void mmapper_exit(void)
+static void __exit mmapper_exit(void)
{
misc_deregister(&mmapper_dev);
}
--
2.17.1
Powered by blists - more mailing lists