提交 661c8327 编写于 作者: R Rob Clark 提交者: Alexander Graf

efi_loader: workaround for grub lsefi bug

Patch has also been sent to fix grub to not ignore the error returned
and treat protocol_buffer_count as valid.  But that that might take a
while to trickle into distro's, so this workaround might be useful.
Signed-off-by: NRob Clark <robdclark@gmail.com>
Signed-off-by: NAlexander Graf <agraf@suse.de>
上级 09c5ab90
......@@ -866,6 +866,7 @@ static efi_status_t EFIAPI efi_protocols_per_handle(void *handle,
{
EFI_ENTRY("%p, %p, %p", handle, protocol_buffer,
protocol_buffer_count);
*protocol_buffer_count = 0;
return EFI_EXIT(EFI_OUT_OF_RESOURCES);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册