Partially make EdkModulePkg pass intel IPF compiler with /W4 /WX switched on.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2313 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -1281,9 +1281,9 @@ EhciGetRootHubPortStatus (
|
||||
// Not Low Speed Device Attached
|
||||
//
|
||||
if ((PORTSC_CCS & PortStatusControlReg) && (PORTSC_CSC & PortStatusControlReg)) {
|
||||
HcDev->DeviceSpeed[PortNumber] = IsHighSpeedDevice (This, PortNumber) ? USB_PORT_STAT_HIGH_SPEED : 0;
|
||||
HcDev->DeviceSpeed[PortNumber] = (UINT16) (IsHighSpeedDevice (This, PortNumber) ? USB_PORT_STAT_HIGH_SPEED : 0);
|
||||
}
|
||||
PortStatus->PortStatus |= HcDev->DeviceSpeed[PortNumber];
|
||||
PortStatus->PortStatus = (UINT16) (PortStatus->PortStatus | HcDev->DeviceSpeed[PortNumber]);
|
||||
}
|
||||
//
|
||||
// Fill Port Status Change bits
|
||||
|
Reference in New Issue
Block a user