[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220821130808.12143-1-zenczykowski@gmail.com>
Date: Sun, 21 Aug 2022 06:08:08 -0700
From: Maciej Żenczykowski <zenczykowski@...il.com>
To: Maciej Żenczykowski <maze@...gle.com>
Cc: Linux Network Development Mailing List <netdev@...r.kernel.org>,
Mahesh Bandewar <maheshb@...gle.com>,
Sainath Grandhi <sainath.grandhi@...el.com>
Subject: [PATCH] net: ipvtap - add __init/__exit annotations to module init/exit funcs
From: Maciej Żenczykowski <maze@...gle.com>
Looks to have been left out in an oversight.
Cc: Mahesh Bandewar <maheshb@...gle.com>
Cc: Sainath Grandhi <sainath.grandhi@...el.com>
Fixes: 235a9d89da97 ('ipvtap: IP-VLAN based tap driver')
Signed-off-by: Maciej Żenczykowski <maze@...gle.com>
---
drivers/net/ipvlan/ipvtap.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ipvlan/ipvtap.c b/drivers/net/ipvlan/ipvtap.c
index ef02f2cf5ce1..cbabca167a07 100644
--- a/drivers/net/ipvlan/ipvtap.c
+++ b/drivers/net/ipvlan/ipvtap.c
@@ -194,7 +194,7 @@ static struct notifier_block ipvtap_notifier_block __read_mostly = {
.notifier_call = ipvtap_device_event,
};
-static int ipvtap_init(void)
+static int __init ipvtap_init(void)
{
int err;
@@ -228,7 +228,7 @@ static int ipvtap_init(void)
}
module_init(ipvtap_init);
-static void ipvtap_exit(void)
+static void __exit ipvtap_exit(void)
{
rtnl_link_unregister(&ipvtap_link_ops);
unregister_netdevice_notifier(&ipvtap_notifier_block);
--
2.37.1.595.g718a3a8f04-goog
Powered by blists - more mailing lists