}\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