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/VBoxNetAdp/linux/VBoxNetAdp-linux.c

    r76553 r77722  
    7171*   Internal Functions                                                                                                           *
    7272*********************************************************************************************************************************/
    73 static int  VBoxNetAdpLinuxInit(void);
    74 static void VBoxNetAdpLinuxUnload(void);
     73static int  __init VBoxNetAdpLinuxInit(void);
     74static void __exit VBoxNetAdpLinuxUnload(void);
    7575
    7676static int VBoxNetAdpLinuxOpen(struct inode *pInode, struct file *pFilp);
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