[edk2-devel] [PATCH 37/43] OvmfPkg/SmbiosPlatformDxe: return EFI_NOT_FOUND if there is no SMBIOS data

2021-05-26 Thread Laszlo Ersek
According to the function-top comment, SmbiosTablePublishEntry() is supposed to return an error code if no SMBIOS data is found, from either GetXenSmbiosTables() or GetQemuSmbiosTables(). Currently the function returns EFI_SUCCESS in this case however (propagated from gBS->LocateProtocol()). Make t

Re: [edk2-devel] [PATCH 37/43] OvmfPkg/SmbiosPlatformDxe: return EFI_NOT_FOUND if there is no SMBIOS data

2021-05-27 Thread Philippe Mathieu-Daudé
On 5/26/21 10:14 PM, Laszlo Ersek wrote: > According to the function-top comment, SmbiosTablePublishEntry() is > supposed to return an error code if no SMBIOS data is found, from either > GetXenSmbiosTables() or GetQemuSmbiosTables(). Currently the function > returns EFI_SUCCESS in this case howeve