Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BC21FC433EF for ; Tue, 7 Dec 2021 20:43:22 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 481DF80F90; Tue, 7 Dec 2021 21:43:20 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="YMp4F/7p"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4011182A59; Tue, 7 Dec 2021 21:43:18 +0100 (CET) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 579B78291E for ; Tue, 7 Dec 2021 21:43:15 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id C5C2AB81858; Tue, 7 Dec 2021 20:43:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 249C4C341C1; Tue, 7 Dec 2021 20:43:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1638909793; bh=3tGhf+hEI4AHnwtGVnG0E7XVfqWvuDxgJ5P+FtmbVv4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YMp4F/7pG3VQm9x8xZAYfBv/lp+7/dR9QTBRznvJoPG+yPXYtn4ovYW5gNaSMYN1k Ibxmj5HzND2xVnlt4noM3GxT0Guhm0henqDHxVJGmlqLhyRyetDJLblyhSCoGl2gzc 54IPzxNcWCpgzBbWl764kATffCerEScHt3Qz4teZQNqqC4u0BGyw5bj9uMfoEpLqTR zP905Js+Z2u9woKhN84v/owF2X6MOoAnw5e/JTeOW8FUfuG2WA+iRbingiUDXS4r9v tAGqwB1XY7NZyiu+Axcb6C2WJjyVtMBilknLrWUZ1PoDsQD0bcCqOTdgf5eAezgsrU nXN81KsYSZY7Q== Received: by pali.im (Postfix) id 18AEBF63; Tue, 7 Dec 2021 21:43:10 +0100 (CET) Date: Tue, 7 Dec 2021 21:43:09 +0100 From: Pali =?utf-8?B?Um9ow6Fy?= To: Stefano Babic , Fabio Estevam Cc: "NXP i.MX U-Boot Team" , u-boot@lists.denx.de Subject: Re: [PATCH] imx: nandbcb: Fix printf format in write_fcb Message-ID: <20211207204309.sl5msoitz56rj64n@pali> References: <20211020091315.12632-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20211020091315.12632-1-pali@kernel.org> User-Agent: NeoMutt/20180716 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean 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 > --- > 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 >