]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.c
MdeModulePkg/UfsPassThruDxe: Use BaseLib linked list iteration macros
[mirror_edk2.git] / MdeModulePkg / Bus / Ufs / UfsPassThruDxe / UfsPassThru.c
index 26c5a8b8555498d9fef8dab654e9058e45d41222..9768c2e6fb225dc73eb705bb3268d5f3a5f394eb 100644 (file)
@@ -1,6 +1,7 @@
 /** @file\r
 \r
   Copyright (c) 2014 - 2019, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) Microsoft Corporation.<BR>\r
   SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
@@ -1083,7 +1084,7 @@ UfsPassThruDriverBindingStop (
   // Cleanup the resources of I/O requests in the async I/O queue\r
   //\r
   if (!IsListEmpty(&Private->Queue)) {\r
-    EFI_LIST_FOR_EACH_SAFE (Entry, NextEntry, &Private->Queue) {\r
+    BASE_LIST_FOR_EACH_SAFE (Entry, NextEntry, &Private->Queue) {\r
       TransReq  = UFS_PASS_THRU_TRANS_REQ_FROM_THIS (Entry);\r
 \r
       //\r