[PATCH] imx: nandbcb: Fix printf format in write_fcb

Pali Rohár pali at kernel.org
Thu Jan 13 15:33:25 CET 2022


Just friendly reminder for this patch...

On Tuesday 07 December 2021 21:43:09 Pali Rohár wrote:
> PING?
> 
> On Wednesday 20 October 2021 11:13:15 Pali Rohár wrote:
> > Correct printf format for unsigned long long is %llx and not %llxx.
> > 
> > Signed-off-by: Pali Rohár <pali at kernel.org>
> > ---
> >  arch/arm/mach-imx/cmd_nandbcb.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/arch/arm/mach-imx/cmd_nandbcb.c b/arch/arm/mach-imx/cmd_nandbcb.c
> > index 09622c13c980..646da0198660 100644
> > --- a/arch/arm/mach-imx/cmd_nandbcb.c
> > +++ b/arch/arm/mach-imx/cmd_nandbcb.c
> > @@ -650,7 +650,7 @@ static int write_fcb(struct boot_config *boot_cfg, struct fcb_block *fcb)
> >  			};
> >  
> >  			ret = mtd_write_oob(mtd, off, &ops);
> > -			printf("NAND FCB write to 0x%llxx offset 0x%zx written: %s\n", off, ops.len, ret ? "ERROR" : "OK");
> > +			printf("NAND FCB write to 0x%llx offset 0x%zx written: %s\n", off, ops.len, ret ? "ERROR" : "OK");
> >  		}
> >  
> >  		if (ret)
> > -- 
> > 2.20.1
> > 


More information about the U-Boot mailing list