Thanks Star,
How about removing the comments that mention 'UsbHcUnlinkMemBlock' (3
occurrences, in UsbHcFreeMemPool() and UsbHcFreeMem()) to avoid possible
confusion?
Best Regards,
Hao Wu
> -Original Message-
> From: Zeng, Star
> Sent: Friday, August 5, 2022 7:44 PM
> To:
Use Block->Next instead of Pool->Head->Next, otherwise the for loop
will be not able to come out.
It will also match with the UsbHcFreeMemPool() in EhciPei.
Cc: Hao A Wu
Cc: Ray Ni
Cc: Zhikai Sun
Signed-off-by: Star Zeng
---
MdeModulePkg/Bus/Pci/XhciPei/UsbHcMem.c | 2 +-
1 file changed, 1