VirtualBox

Ignore:
Timestamp:
Mar 15, 2019 11:37:18 AM (6 years ago)
Author:
vboxsync
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/Additions/common/VBoxGuest/VBoxGuest-linux.c

    r76553 r77722  
    101101static void vgdrvLinuxTermPci(struct pci_dev *pPciDev);
    102102static int  vgdrvLinuxProbePci(struct pci_dev *pPciDev, const struct pci_device_id *id);
    103 static int  vgdrvLinuxModInit(void);
    104 static void vgdrvLinuxModExit(void);
     103static int  __init vgdrvLinuxModInit(void);
     104static void __exit vgdrvLinuxModExit(void);
    105105static int  vgdrvLinuxOpen(struct inode *pInode, struct file *pFilp);
    106106static int  vgdrvLinuxRelease(struct inode *pInode, struct file *pFilp);
Note: See TracChangeset for help on using the changeset viewer.

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