efi_loader: Fix warning in efi_gop
PATCH 1/1 efi_loader: Fix warning in efi_gop
Commit ca9193d2b16 ("efi_loader: gop: fixes for CONFIG_DM_VIDEO without CONFIG_LCD") dropped the explicit (void*) cast for fb_base in efi gop support for CONFIG_LCD without DM. This patch adds it back, eliminating the now occuring warning again
Fixes ca9193d2b16 ("efi_loader: gop: fixes for CONFIG_DM_VIDEO without CONFIG_LCD")
Reported-by Tom Rini <[email protected]>
Signed-off-by Alexander Graf <[email protected]>
--- lib/efi_loader/efi_gop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/efi_loader/efi_gop.c +1 -1
@@ -155,7 +155,7 @@ int efi_gop_register(void) row = panel_info.vl_row; fb_base = gd->fb_base; fb_size =lcd_get_size (&line_len); - fb = gd->fb_base; + fb = (void *)gd->fb_base;#endif switch (bpix) {
Signature · 1 line
2.12.3
PATCH 1/1 efi_loader: Fix warning in efi_gop
Quoted 8 lines · Alexander Graf
Commit
ca9193d2b16("efi_loader: gop: fixes forCONFIG_DM_VIDEOwithoutCONFIG_LCD") dropped the explicit (void*) cast forfb_basein efi gop support forCONFIG_LCDwithout DM. This patch adds it back, eliminating the now occuring warning againFixes ca9193d2b16 ("efi_loader: gop: fixes for CONFIG_DM_VIDEO without CONFIG_LCD")Reported-by Tom Rini <[email protected]>Signed-off-by Alexander Graf <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170731/2273de28/attachment.sig>