[PATCH v1] imx: romapi: fix spurious ampersand in address print

Michael Nazzareno Trimarchi michael at amarulasolutions.com
Wed Jul 20 09:32:07 CEST 2022


Hi

On Wed, Jul 20, 2022 at 9:29 AM Francesco Dolcini
<francesco.dolcini at toradex.com> wrote:
>
> From: Marcel Ziswiler <marcel.ziswiler at toradex.com>
>
> Fix spurious ampersand in address print e.g.
>
>         Find img info 0x&480331a0, size 855
>
> Signed-off-by: Marcel Ziswiler <marcel.ziswiler at toradex.com>
> Signed-off-by: Francesco Dolcini <francesco.dolcini at toradex.com>
> ---
>  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 c47f5a6bdb44..2996d2761690 100644
> --- a/arch/arm/mach-imx/spl_imx_romapi.c
> +++ b/arch/arm/mach-imx/spl_imx_romapi.c
> @@ -306,7 +306,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.25.1
>

I have already seen a similar patch from Fabio.
Reviewed-by: Michael Trimarchi <michael at amarulasolutions.com>"


More information about the U-Boot mailing list