]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx: ahab: fix compiler warnings in debug
authorOliver Graute <oliver.graute@kococonnector.com>
Fri, 6 Nov 2020 08:09:30 +0000 (09:09 +0100)
committerStefano Babic <sbabic@denx.de>
Sun, 6 Dec 2020 14:31:36 +0000 (15:31 +0100)
commit492b728f9f5af73ee407d800170935429d8dcf90
treec551aeee7974999b9ae8e688c3c733d2ea06a92d
parentf4433e7f27d36b3b81e23c0e8139fe28a6e97951
imx: ahab: fix compiler warnings in debug

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@kococonnector.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: uboot-imx <uboot-imx@nxp.com>
arch/arm/mach-imx/imx8/ahab.c