summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Bus/Scsi
diff options
context:
space:
mode:
authorjji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-14 02:49:25 +0000
committerjji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-14 02:49:25 +0000
commit7077edb33183a13d61436eff788b9ce3c8e26dbc (patch)
tree89fa76dfebd4c7af913039dee85ade768147aa0e /MdeModulePkg/Bus/Scsi
parent3501cc994c10dc7e743d44a7d96a56e6c89d34ab (diff)
downloadedk2-7077edb33183a13d61436eff788b9ce3c8e26dbc.zip
edk2-7077edb33183a13d61436eff788b9ce3c8e26dbc.tar.gz
edk2-7077edb33183a13d61436eff788b9ce3c8e26dbc.tar.bz2
Code Scrub
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6543 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Bus/Scsi')
-rw-r--r--MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c b/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c
index 73038c4..9833f03 100644
--- a/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c
+++ b/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c
@@ -873,7 +873,7 @@ ScsiExecuteSCSICommand (
return Status;
}
- if ((ScsiIoDevice->ScsiPassThru->Mode->Attributes & EFI_SCSI_PASS_THRU_ATTRIBUTES_NONBLOCKIO) && (Event != NULL)) {
+ if (((ScsiIoDevice->ScsiPassThru->Mode->Attributes & EFI_SCSI_PASS_THRU_ATTRIBUTES_NONBLOCKIO) != 0) && (Event != NULL)) {
EventData.Data1 = (VOID*)Packet;
EventData.Data2 = Event;
//