[PATCH V2 09/30] imx: parse-container: fix build warning

sbabic at denx.de sbabic at denx.de
Tue Jul 11 21:47:12 CEST 2023


> From: Peng Fan <peng.fan at nxp.com>
> Fix build warning:
> warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3
> has type ‘u64’ {aka ‘long long unsigned int’} [-Wformat=]
>          printf("can't find memreg for image %d load address 0x%x, error %d\n",
> warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but
> argument 3 has type ‘sc_faddr_t’ {aka ‘long long unsigned int’} [-Wformat=]
>           debug("memreg %u 0x%lx -- 0x%lx\n", mr, start, end);
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,        Managing Director: Erika Unter  
HRB 165235 Munich,   Office: Kirchenstr.5, 82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list