]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ComponentName.c
MdeModulePkg: Clean up source files
[mirror_edk2.git] / MdeModulePkg / Bus / Scsi / ScsiDiskDxe / ComponentName.c
index 17908258029cddf6c932e1354c37dc0020c9ccc1..f2da7af8fb3c9c7972716c13d22d1effe29a70ae 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   UEFI Component Name(2) protocol implementation for SCSI disk driver.\r
 \r
-Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -183,7 +183,7 @@ ScsiDiskComponentNameGetControllerName (
   if (ChildHandle != NULL) {\r
     return EFI_UNSUPPORTED;\r
   }\r
-  \r
+\r
   //\r
   // Make sure this driver is currently managing ControllerHandle\r
   //\r
@@ -211,7 +211,7 @@ ScsiDiskComponentNameGetControllerName (
     return Status;\r
   }\r
 \r
-  ScsiDiskDevice = SCSI_DISK_DEV_FROM_THIS (BlockIo);\r
+  ScsiDiskDevice = SCSI_DISK_DEV_FROM_BLKIO (BlockIo);\r
 \r
   return LookupUnicodeString2 (\r
            Language,\r