Extended SCSI Pass Thru protocol in the system.\r
\r
Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 1985 - 2022, American Megatrends International LLC.<BR>\r
+\r
SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
// then create handle and install scsi i/o protocol.\r
//\r
Status = ScsiScanCreateDevice (This, Controller, &ScsiTargetId, Lun, ScsiBusDev);\r
+ if (Status == EFI_OUT_OF_RESOURCES) {\r
+ goto ErrorExit;\r
+ }\r
}\r
\r
return EFI_SUCCESS;\r