Red Hat Bugzilla – Bug 233647
missing casts in kernel header file cause vmware module build to fail
Last modified: 2007-11-30 17:11:59 EST
The call to __cpuid in the cpuid_count function in asm-i386/processor.h needs to
cast the four arguments to __cpuid to unsigned int *, to avoid a type warning
when this header file is used. This is harmless most of the time, but harmful
when it is used while trying to build vmware modules, since the module build
code treats warnings as errors and hence draws incorrect conclusions about the
availability of various kernel features.
The warnings will be turned off before release.
Building release versions of code with -Werror is a really bad idea anyway.