diff options
-rw-r--r-- | Core/MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Core/MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.c b/Core/MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.c index 68a44367b5..e27f4fbab1 100644 --- a/Core/MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.c +++ b/Core/MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.c @@ -479,10 +479,10 @@ UfsPassThruGetTargetLun ( }
//
- // Check whether the DevicePath belongs to SCSI_DEVICE_PATH
+ // Check whether the DevicePath belongs to UFS_DEVICE_PATH
//
if ((DevicePath->Type != MESSAGING_DEVICE_PATH) || (DevicePath->SubType != MSG_UFS_DP) ||
- (DevicePathNodeLength(DevicePath) != sizeof(SCSI_DEVICE_PATH))) {
+ (DevicePathNodeLength(DevicePath) != sizeof(UFS_DEVICE_PATH))) {
return EFI_UNSUPPORTED;
}
|