mirror of https://github.com/acidanthera/audk.git
MdeModulePkg/PciSioSerialDxe:bitwise operation have same width operands
Operands in a bitwise operation have different size. Update code to fix it. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Feng Tian <feng.tian@intel.com> Reviewed-by: Qiu Shumin <shumin.qiu@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19309 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
12f5ff97f6
commit
d14198b339
|
@ -982,7 +982,7 @@ SerialControllerDriverStart (
|
|||
&Supports
|
||||
);
|
||||
if (!EFI_ERROR (Status)) {
|
||||
Supports &= EFI_PCI_IO_ATTRIBUTE_IO | EFI_PCI_IO_ATTRIBUTE_MEMORY;
|
||||
Supports &= (UINT64)(EFI_PCI_IO_ATTRIBUTE_IO | EFI_PCI_IO_ATTRIBUTE_MEMORY);
|
||||
Status = ParentIo.PciIo->Attributes (
|
||||
ParentIo.PciIo,
|
||||
EfiPciIoAttributeOperationEnable,
|
||||
|
|
Loading…
Reference in New Issue