From a8e518b80a311860f3b5b1730469ee843da7d72e Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Wed, 20 Jul 2022 09:27:55 +0200 Subject: [PATCH] imx: romapi: fix spurious ampersand in address print Fix spurious ampersand in address print e.g. Find img info 0x&480331a0, size 855 Signed-off-by: Marcel Ziswiler Signed-off-by: Francesco Dolcini Reviewed-by: Michael Trimarchi " --- arch/arm/mach-imx/spl_imx_romapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/spl_imx_romapi.c b/arch/arm/mach-imx/spl_imx_romapi.c index cc3c1251dc..07bf07beee 100644 --- a/arch/arm/mach-imx/spl_imx_romapi.c +++ b/arch/arm/mach-imx/spl_imx_romapi.c @@ -288,7 +288,7 @@ static int spl_romapi_load_image_stream(struct spl_image_info *spl_image, } imagesize = img_info_size(phdr); - printf("Find img info 0x&%p, size %d\n", phdr, imagesize); + printf("Find img info 0x%p, size %d\n", phdr, imagesize); if (p - phdr < imagesize) { imagesize -= p - phdr; -- 2.39.5