We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fe89d0 commit 078adb3Copy full SHA for 078adb3
drivers/vhost/net.c
@@ -1781,15 +1781,15 @@ static struct miscdevice vhost_net_misc = {
1781
.fops = &vhost_net_fops,
1782
};
1783
1784
-static int vhost_net_init(void)
+static int __init vhost_net_init(void)
1785
{
1786
if (experimental_zcopytx)
1787
vhost_net_enable_zcopy(VHOST_NET_VQ_TX);
1788
return misc_register(&vhost_net_misc);
1789
}
1790
module_init(vhost_net_init);
1791
1792
-static void vhost_net_exit(void)
+static void __exit vhost_net_exit(void)
1793
1794
misc_deregister(&vhost_net_misc);
1795
0 commit comments