diff options
author | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-09-17 10:42:10 +0000 |
---|---|---|
committer | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-09-17 10:42:10 +0000 |
commit | 24115e44926b33c763f81026690f20efd913daf2 (patch) | |
tree | 165010ef17af178cec3f4da9c0470cb0016de86b /PcAtChipsetPkg/IsaAcpiDxe | |
parent | 36b4e01a25a4abb68cdac3d40fd2c08c3f3722c4 (diff) | |
download | edk2-platforms-24115e44926b33c763f81026690f20efd913daf2.tar.xz |
RefRefine soma code to make code run safely.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10885 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'PcAtChipsetPkg/IsaAcpiDxe')
-rw-r--r-- | PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.c b/PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.c index 468f193955..8e6d8b7f82 100644 --- a/PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.c +++ b/PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.c @@ -242,7 +242,7 @@ PcatIsaAcpiDriverBindingStart ( Done:
if (EFI_ERROR (Status)) {
- if (PciIo) {
+ if (PciIo != NULL) {
PciIo->Attributes (
PciIo,
EfiPciIoAttributeOperationDisable,
|