aeb85e0798
Mainline commit 0fcb70851fbf ("Makefile.extrawarn: turn on missing-prototypes globally") in 6.8-rc1 enables -Wmissing-prototypes globally, revealing a lot of unclean code and also some actual problems. This is also the case in vmmon and vmnet modules. Most of them are addressed by making functions used only within one file static. The missing prototype of random_get_entropy_fallback() is handled by including <linux/timex.h> rather than <asm/timex.h>. Finally, there are four functions in vmnet module which are actually used in multiple files but instead of proper declarations, their prototype is duplicated in vmnet-only/driver.c, risking that the two copies won't match (which actually happened in one case). The cleanest solution would be creating separate header files for them (bridge.h, netif.h, userif.h and vnetUserListener.h) and including them in the respective source file and driver.c. As the developers already handle similar cases by simply putting the declarations into vnetInt.h, let us do the same to keep things simple. |
||
---|---|---|
.. | ||
autoconf | ||
bootstrap | ||
common | ||
include | ||
linux | ||
COPYING | ||
Makefile | ||
Makefile.kernel | ||
Makefile.normal | ||
README |
README
This files in this directory and its subdirectories are the kernel module portion of the VMware Virtual Machine Monitor. In order to build, make certain the Makefile is correct, especially in whether or not your system is multi-processor and then just type make from this directory. A copy of the module will be left in driver-<kernel version>/vmmon.o (e.g. driver-up-2.0.32/vmmon.o). If you have any problems or questions, send mail to support@vmware.com