X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FBus%2FUfs%2FUfsPassThruDxe%2FUfsPassThru.c;h=e27f4fbab175a2d53e2e58017680bbfc3d9a5388;hp=68a44367b539721b5eeb6e373715008f6c51aad5;hb=a8321feebb6af978478e0da559806602bd2dcc7d;hpb=760759962786c3c554c20d76b800ee31a878aaa1 diff --git a/MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.c b/MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.c index 68a44367b5..e27f4fbab1 100644 --- a/MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.c +++ b/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; }