mirror of https://github.com/acidanthera/audk.git
Fix DDK3790 build failure.
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14587 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
7076ecdb6b
commit
de49225db8
|
@ -809,7 +809,7 @@ DiskIo2ReadWriteDisk (
|
||||||
BlockIo2 = Instance->BlockIo2;
|
BlockIo2 = Instance->BlockIo2;
|
||||||
Media = BlockIo->Media;
|
Media = BlockIo->Media;
|
||||||
Status = EFI_SUCCESS;
|
Status = EFI_SUCCESS;
|
||||||
Blocking = ((Token == NULL) || (Token->Event == NULL));
|
Blocking = (BOOLEAN) ((Token == NULL) || (Token->Event == NULL));
|
||||||
|
|
||||||
if (Media->MediaId != MediaId) {
|
if (Media->MediaId != MediaId) {
|
||||||
return EFI_MEDIA_CHANGED;
|
return EFI_MEDIA_CHANGED;
|
||||||
|
|
Loading…
Reference in New Issue