VirtualBox

Ignore:
Timestamp:
Mar 15, 2019 11:37:18 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
129370
Message:

Drivers/Linux: add missing init and exit markers.
bugref:4567: Linux kernel driver maintenance.
Building against linux-next, we get some ugly warnings in vboxpci, vboxnetflt
and vboxnetadp (...)
Fortunately, the fix is simple - match the forward definition:s attributes to
the target attributes. I am not sure why vboxdrv does not throw a warning, but
we will swat it there as well while we are at it.
Michael: do VBoxGuest as well.
Thank you Valdis Klētnieks for the patch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c

    r76553 r77722  
    216216*   Internal Functions                                                                                                           *
    217217*********************************************************************************************************************************/
    218 static int      VBoxNetFltLinuxInit(void);
    219 static void     VBoxNetFltLinuxUnload(void);
     218static int      __init VBoxNetFltLinuxInit(void);
     219static void     __exit VBoxNetFltLinuxUnload(void);
    220220static void     vboxNetFltLinuxForwardToIntNet(PVBOXNETFLTINS pThis, struct sk_buff *pBuf);
    221221
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette