]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/IScsiDxe/IScsiMisc.c
NetworkPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / NetworkPkg / IScsiDxe / IScsiMisc.c
index dd0d32dcda168259e7573275ffe422d95ae66074..38ad67917c300d0369c4df0466b421210a07917c 100644 (file)
@@ -2,13 +2,7 @@
   Miscellaneous routines for iSCSI driver.\r
 \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
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -845,6 +839,10 @@ IScsiCreateAttempts (
                     );\r
     FreePool (AttemptConfigOrder);\r
     if (EFI_ERROR (Status)) {\r
+      DEBUG ((DEBUG_ERROR,\r
+        "%a: Failed to set 'InitialAttemptOrder' with Guid (%g): "\r
+        "%r\n",\r
+        __FUNCTION__, &gIScsiConfigGuid, Status));\r
       return Status;\r
     }\r
 \r
@@ -887,6 +885,10 @@ IScsiCreateAttempts (
                     );\r
     FreePool (AttemptConfigData);\r
     if (EFI_ERROR (Status)) {\r
+        DEBUG ((DEBUG_ERROR,\r
+          "%a: Failed to set variable (mPrivate->PortString) with Guid (%g): "\r
+          "%r\n",\r
+          __FUNCTION__, &gEfiIScsiInitiatorNameProtocolGuid, Status));\r
       return Status;\r
     }\r
   }\r