Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160573034
D52432.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
576 B
Referenced Files
None
Subscribers
None
D52432.diff
View Options
diff --git a/stand/efi/loader/framebuffer.c b/stand/efi/loader/framebuffer.c
--- a/stand/efi/loader/framebuffer.c
+++ b/stand/efi/loader/framebuffer.c
@@ -630,7 +630,7 @@
gfx_state->tg_fb_type = FB_UGA;
gfx_state->tg_private = uga;
} else {
- return (1);
+ return (efi_status_to_errno(status));
}
}
@@ -644,9 +644,12 @@
break;
default:
- return (1);
+ return (EINVAL);
}
+ if (rv != 0)
+ return (rv);
+
gfx_state->tg_fb.fb_addr = efifb.fb_addr;
gfx_state->tg_fb.fb_size = efifb.fb_size;
gfx_state->tg_fb.fb_height = efifb.fb_height;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jun 26, 7:59 PM (9 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34367403
Default Alt Text
D52432.diff (576 B)
Attached To
Mode
D52432: loader/efi: return error from efi_find_framebuffer
Attached
Detach File
Event Timeline
Log In to Comment