Bug 233647

Summary: missing casts in kernel header file cause vmware module build to fail
Product: [Fedora] Fedora Reporter: Jonathan Kamens <jik>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED DEFERRED QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-03-26 05:39:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jonathan Kamens 2007-03-23 15:54:26 UTC
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.

Comment 1 Dave Jones 2007-03-26 05:39:41 UTC
The warnings will be turned off before release.
Building release versions of code with -Werror is a really bad idea anyway.