[U-Boot] [PATCH] part_efi: fix build warning

Anatolij Gustschin agust at denx.de
Mon Oct 31 16:26:13 CET 2011


Hi,

On Mon, 31 Oct 2011 08:07:05 -0700
Lei Wen <leiwen at marvell.com> wrote:

> part_efi.c: In function 'print_part_efi':
> part_efi.c:133: warning: passing argument 3 of 'is_gpt_valid' from
> incompatible pointer type
> part_efi.c:95: note: expected 'struct gpt_header *' but argument is of
> type 'struct gpt_header **'
> part_efi.c: In function 'get_partition_info_efi':
> part_efi.c:172: warning: passing argument 3 of 'is_gpt_valid' from
> incompatible pointer type
> part_efi.c:95: note: expected 'struct gpt_header *' but argument is of
> type 'struct gpt_header **'
> 
> Signed-off-by: Lei Wen <leiwen at marvell.com>
> ---
>  disk/part_efi.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)

A patch for this bug already exists: [1].

Thanks anyway,
Anatolij

[1] http://patchwork.ozlabs.org/patch/122485/


More information about the U-Boot mailing list