mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-10-02 19:22:00 +02:00
imx: ahab: Fix compiler warnings in printf
arch/arm/mach-imx/imx8/ahab.c:110:63: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘u64 {aka long long unsigned int}’ [-Wformat=] Fix those by using %llx Signed-off-by: Oliver Graute <oliver.graute@kococonnector.com> Cc: Stefano Babic <sbabic@denx.de> Cc: uboot-imx <uboot-imx@nxp.com>
This commit is contained in:
parent
61eb1fe568
commit
f4433e7f27
@ -106,7 +106,7 @@ int authenticate_os_container(ulong addr)
|
|||||||
/* Find the memreg and set permission for seco pt */
|
/* Find the memreg and set permission for seco pt */
|
||||||
err = sc_rm_find_memreg(-1, &mr, s, e);
|
err = sc_rm_find_memreg(-1, &mr, s, e);
|
||||||
if (err) {
|
if (err) {
|
||||||
printf("Error: can't find memreg for image load address 0x%x, error %d\n", img->dst, err);
|
printf("Error: can't find memreg for image load address 0x%llx, error %d\n", img->dst, err);
|
||||||
ret = -ENOMEM;
|
ret = -ENOMEM;
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user