Skip to contentSkip to conversation

net: ipvtap - add __init/__exit annotations to module init/exit funcs

PATCH Applied Maciej Żenczykowski 2 participants 2 messages Aug 21, 2022 – Aug 23, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: ipvtap - add __init/__exit annotations to module init/exit funcs

From: Maciej Żenczykowski <[email protected]>

Looks to have been left out in an oversight.

Cc Mahesh Bandewar <[email protected]>
Cc Sainath Grandhi <[email protected]>
Fixes 235a9d89da97 ('ipvtap: IP-VLAN based tap driver')
---
 drivers/net/ipvlan/ipvtap.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/ipvlan/ipvtap.c +2 -2
index ef02f2cf5ce1..cbabca167a07 100644
@@ -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);
Signature · 1 line
2.37.1.595.g718a3a8f04-goog
#1 lore raw
This patch was applied to netdev/net.git (master) by Paolo Abeni <[email protected]>:

Hello:

This patch was applied to netdev/net.git (master)
by Paolo Abeni <[email protected]>:

Quoted 10 lines · On Sun, 21 Aug 2022 06:08:08 -0700 you wrote:

From: Maciej Żenczykowski <[email protected]>

Looks to have been left out in an oversight.

Cc Mahesh Bandewar <[email protected]>
Cc Sainath Grandhi <[email protected]>
Fixes 235a9d89da97 ('ipvtap: IP-VLAN based tap driver')

[...]

Here is the summary with links:
- net: ipvtap - add __init/__exit annotations to module init/exit funcs

    https://git.kernel.org/netdev/net/c/4b2e3a17e9f2

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html