]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Bus/Pci/PciBus/Dxe/PciLib.c
Partially make EdkModulePkg pass intel IPF compiler with /W4 /WX switched on.
[mirror_edk2.git] / EdkModulePkg / Bus / Pci / PciBus / Dxe / PciLib.c
index a4d3577d353b21f7cbcfec0579a991ef2c592a72..c9c46b3adfb9e5aaa5a2930c0bdccbb9a2eb7339 100644 (file)
@@ -94,6 +94,7 @@ Returns:
                     EFI_NATIVE_INTERFACE,\r
                     NULL\r
                     );\r
+    ASSERT_EFI_ERROR (Status);\r
   }\r
 }\r
 \r
@@ -1446,7 +1447,7 @@ Returns:
   SecondBus       = 0;\r
   Register        = 0;\r
   State           = 0;\r
-  Attributes      = 0;\r
+  Attributes      = (EFI_HPC_PADDING_ATTRIBUTES) 0;\r
   BusRange        = 0;\r
 \r
   ResetAllPpbBusReg (Bridge, StartBusNumber);\r