vmware-host-modules/vmmon-only
Michal Kubecek 218fec600d modules: fix build with -Wmissing-prototypes
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.
2024-01-13 02:16:09 +01:00
..
autoconf import Workstation 12.5.5 module sources 2017-05-31 09:36:09 +02:00
common modules: fix build with -Wmissing-prototypes 2024-01-13 02:16:09 +01:00
include vmmon: drop old fallback thread/process iteration macro definitions 2023-09-29 16:12:51 +02:00
linux modules: fix build with -Wmissing-prototypes 2024-01-13 02:16:09 +01:00
vmcore import Workstation 12.5.7 module sources 2017-06-23 09:12:56 +02:00
COPYING import Workstation 12.5.5 module sources 2017-05-31 09:36:09 +02:00
Makefile modules: do not ignore the CC variable 2022-06-17 09:29:35 +02:00
Makefile.kernel modules: remove .cache.mk on make clean 2018-05-27 16:06:25 +02:00
Makefile.normal import Workstation 12.5.5 module sources 2017-05-31 09:36:09 +02:00
README import Workstation 12.5.5 module sources 2017-05-31 09:36:09 +02:00

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