[edk2-devel] [PATCH v1 1/1] UefiCpuPkg/CpuCacheInfoLib: Add more dependency of CpuCacheInfoLib
Ni, Ray
ray.ni at intel.com
Mon Feb 1 08:43:50 UTC 2021
> - Status = CpuCacheInfoGetMpServices (&Context.MpServices);
>
> - if (EFI_ERROR(Status)) {
>
> - return Status;
>
> - }
>
> + CpuCacheInfoGetMpServices (&Context.MpServices);
Why not replace the if-check with an assertion as below?
+ ASSERT_EFI_ERROR (Status);
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#71008): https://edk2.groups.io/g/devel/message/71008
Mute This Topic: https://groups.io/mt/80278288/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list