From mboxrd@z Thu Jan 1 00:00:00 1970 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BFD05C433F5 for ; Wed, 20 Oct 2021 09:13:45 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id DE05E61074 for ; Wed, 20 Oct 2021 09:13:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org DE05E61074 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 02B5A83273; Wed, 20 Oct 2021 11:13:43 +0200 (CEST) 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="kEP3GgMO"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D06FE83246; Wed, 20 Oct 2021 11:13:40 +0200 (CEST) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (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 3EDD983273 for ; Wed, 20 Oct 2021 11:13:37 +0200 (CEST) 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: by mail.kernel.org (Postfix) with ESMTPSA id C281F61074; Wed, 20 Oct 2021 09:13:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634721214; bh=EjPJE5I5yGASQgHa2Je91c+Sj060/vu08FltKHJUPpA=; h=From:To:Cc:Subject:Date:From; b=kEP3GgMO9xXMDOr7Dktg7Q/H10K0y53qBf1GqDV5zUpTH4K/4JH5WmYH2jwa2OFiE jrbyu57ylJ00NhKArEp//Vw2WY7+QZzcUlCBj7yETXMRmmMhiuJrQBlGc2AuEe+XUl AZCPl4iScaWMJiyukXQavSAAfQitnVDK6PLbaPB2oKUIkLobwGbv/DN930K7ZC7fpa L6pR4tOC34EJzIJTlooOVmeBALej0iRVa683aFq9ZRlVDuJAYjjaz3H7JTg9oTztvH p4USzpaMnoEjQBmFb1ZANJdCQI7ULxgejjY/6TXSKLkG16biCr6njQMIiGuHWVwsxW XedcoDk53apVQ== Received: by pali.im (Postfix) id 404E8883; Wed, 20 Oct 2021 11:13:32 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Stefano Babic , Fabio Estevam Cc: "NXP i.MX U-Boot Team" , u-boot@lists.denx.de Subject: [PATCH] imx: nandbcb: Fix printf format in write_fcb Date: Wed, 20 Oct 2021 11:13:15 +0200 Message-Id: <20211020091315.12632-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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 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