mirror of https://github.com/acidanthera/audk.git
Fix ICC build failure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10360 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
18c97f53ea
commit
bf19b4402b
|
@ -195,6 +195,7 @@ SerialControllerDriverSupported (
|
|||
EFI_OPEN_PROTOCOL_INFORMATION_ENTRY *OpenInfoBuffer;
|
||||
UINTN EntryCount;
|
||||
UINTN Index;
|
||||
BOOLEAN HasFlowControl;
|
||||
|
||||
//
|
||||
// Check RemainingDevicePath validation
|
||||
|
@ -298,10 +299,12 @@ SerialControllerDriverSupported (
|
|||
Controller,
|
||||
EFI_OPEN_PROTOCOL_GET_PROTOCOL
|
||||
);
|
||||
if (!EFI_ERROR (Status) &&
|
||||
(ContainsFlowControl (RemainingDevicePath) ^ ContainsFlowControl (DevicePath))) {
|
||||
if (!EFI_ERROR (Status)) {
|
||||
HasFlowControl = ContainsFlowControl (RemainingDevicePath);
|
||||
if (HasFlowControl ^ ContainsFlowControl (DevicePath)) {
|
||||
Status = EFI_UNSUPPORTED;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue