From 97404058f1752da8fa2ba531e592491c65cb29f1 Mon Sep 17 00:00:00 2001 From: hfang Date: Thu, 25 Dec 2008 08:59:02 +0000 Subject: Fixup for review git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7120 6f19259b-4bc3-4df7-8a09-765794883524 --- IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBus.c') diff --git a/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBus.c b/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBus.c index 5b6f0de60f..e864eccc31 100644 --- a/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBus.c +++ b/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBus.c @@ -437,7 +437,7 @@ IDEBusDriverBindingStart ( // // Check whether the configuration options allow this device // - if (!(ConfigurationOptions & (1 << (IdeChannel * 2 + IdeDevice)))) { + if ((ConfigurationOptions & (1 << (IdeChannel * 2 + IdeDevice))) == 0) { continue; } @@ -822,7 +822,7 @@ ErrorExit: Stop this driver on Controller Handle. @param This Protocol instance pointer. - @param DeviceHandle Handle of device to stop driver on + @param Controller Handle of device to stop driver on @param NumberOfChildren Not used @param ChildHandleBuffer Not used -- cgit v1.2.3