]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.c
MdeModulePkg/UfsPassThruDxe: Fix typo in UfsPassThruGetTargetLun()
[mirror_edk2.git] / MdeModulePkg / Bus / Ufs / UfsPassThruDxe / UfsPassThru.c
index 68a44367b539721b5eeb6e373715008f6c51aad5..e27f4fbab175a2d53e2e58017680bbfc3d9a5388 100644 (file)
@@ -479,10 +479,10 @@ UfsPassThruGetTargetLun (
   }\r
 \r
   //\r
-  // Check whether the DevicePath belongs to SCSI_DEVICE_PATH\r
+  // Check whether the DevicePath belongs to UFS_DEVICE_PATH\r
   //\r
   if ((DevicePath->Type != MESSAGING_DEVICE_PATH) || (DevicePath->SubType != MSG_UFS_DP) ||\r
-      (DevicePathNodeLength(DevicePath) != sizeof(SCSI_DEVICE_PATH))) {\r
+      (DevicePathNodeLength(DevicePath) != sizeof(UFS_DEVICE_PATH))) {\r
     return EFI_UNSUPPORTED;\r
   }\r
 \r