Message ID | 20170728223102.65450-1-agraf@suse.de |
---|---|
State | New |
Headers | show |
> From: Tom Rini <trini@konsulko.com> > Date: Sat, 29 Jul 2017 11:43:21 -0400 > > Otherwise we get a warning about assignment about making a pointer from > int without a cast. That (uintptr_t *) cast makes no sense. Either leave the member as a "void *" and use a (void *) cast, or change it to uintptr_t and use a (uintptr_t) cast. Cheers, Mark > Cc: Alexander Graf <agraf@suse.de> > Signed-off-by: Tom Rini <trini@konsulko.com> > --- > lib/efi_loader/efi_gop.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/lib/efi_loader/efi_gop.c b/lib/efi_loader/efi_gop.c > index 806cfaeea181..bd7ccccb93ff 100644 > --- a/lib/efi_loader/efi_gop.c > +++ b/lib/efi_loader/efi_gop.c > @@ -131,7 +131,7 @@ int efi_gop_register(void) > struct efi_gop_obj *gopobj; > u32 bpix, col, row; > u64 fb_base, fb_size; > - void *fb; > + uintptr_t *fb; > > #ifdef CONFIG_DM_VIDEO > struct udevice *vdev; > @@ -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 = (uintptr_t *)gd->fb_base; > #endif > > switch (bpix) { > -- > 1.9.1 > > _______________________________________________ > U-Boot mailing list > U-Boot@lists.denx.de > https://lists.denx.de/listinfo/u-boot > >
On Sat, Jul 29, 2017 at 12:31:02AM +0200, Alexander Graf wrote: > Hi Tom, > > This is my current patch queue for efi. Please pull. > > Alex > > > The following changes since commit 8d3a25685e4aac7070365a2b3c53c2c81b27930f: > > Merge git://git.denx.de/u-boot-dm (2017-07-11 20:28:46 -0400) > > are available in the git repository at: > > git://github.com/agraf/u-boot.git tags/signed-efi-next > > for you to fetch changes up to af65db85b82b161f037e0889ae58bf461217b3f1: > > efi_loader: indent entry/exit prints to show nesting level (2017-07-29 00:18:46 +0200) > Applied to u-boot/master, thanks! -- Tom