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
  • TabularUnified trunk/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c

    r76553 r77722  
    9898*   Internal Functions                                                                                                           *
    9999*********************************************************************************************************************************/
    100 static int  VBoxDrvLinuxInit(void);
    101 static void VBoxDrvLinuxUnload(void);
     100static int  __init VBoxDrvLinuxInit(void);
     101static void __exit VBoxDrvLinuxUnload(void);
    102102static int  VBoxDrvLinuxCreateSys(struct inode *pInode, struct file *pFilp);
    103103static int  VBoxDrvLinuxCreateUsr(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