[PATCH] imx: ahab: fix compiler warnings in debug

sbabic at denx.de sbabic at denx.de
Tue Dec 8 08:59:08 CET 2020


> arch/arm/mach-imx/imx8/ahab.c: In function ‘authenticate_os_container’:
> arch/arm/mach-imx/imx8/ahab.c:96:9: warning: format ‘%x’ expects argument of type
> ‘unsigned int’, but argument 9 has type ‘ulong {aka long unsigned int}’ [-Wformat=]
>    debug("img %d, dst 0x%x, src 0x%x, size 0x%x\n",
> Fix those by using "%lu" specified.
> Signed-off-by: Oliver Graute <oliver.graute at kococonnector.com>
> Cc: Stefano Babic <sbabic at denx.de>
> Cc: uboot-imx <uboot-imx at nxp.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-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