Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MokManager: removed Locate graphic output protocol fail error message #441

Merged
merged 1 commit into from
Mar 30, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
MokManager: removed Locate graphic output protocol fail error message
On some platform, like GCP or OVMF which does NOT provide
EFI_GRAPHICS_OUTPUT_PROTOCOL when no display device (or the display device
be disabled). It causes that the "Error: Locate graphic output protocol
fail: (0xE) Not Found." always be showed on console when we enroll MOK
through MokManager. The message box blocked the process of enrolling
MOK and scared user. The error message is introduced by 55163bc since
15.2. This patch removed the error message.

Signed-off-by: Lee, Chun-Yi <jlee@suse.com>
  • Loading branch information
joeyli committed Jan 20, 2022
commit 0c5c7eeee53a758ca432cf48e16670841f1e7208
1 change: 0 additions & 1 deletion lib/console.c
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,6 @@ console_mode_handle(VOID)

efi_status = BS->LocateProtocol(&gop_guid, NULL, (void **)&gop);
if (EFI_ERROR(efi_status)) {
console_error(L"Locate graphic output protocol fail", efi_status);
return;
}

Expand Down