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 7F947C433EF for ; Fri, 8 Oct 2021 15:51:08 +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 CA99F60F6F for ; Fri, 8 Oct 2021 15:51:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org CA99F60F6F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de 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 634B383322; Fri, 8 Oct 2021 17:51:05 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1633708265; bh=rLz/JaIyJczdA2lXWnnp+LWPGBeO38B6CVtyZBxF8sM=; h=Subject:To:Cc:References:From:Date:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=P3svqTzND4vgwkhKYH5KpJZrqNEk591Pw298ub+FWLipB37Bav5czUcRs4CJIQzTj w5Y2CZyoEQWbXBfC8Rp0ZAK6TQTvCzlgcQwkIt//bqe7+4b19EUvwJVoljgnYp+24G d0NLfeDHNj8Z6RqoxPYcDcKtIDo9kflSZRs7YGf0A362Xn00X9kGIGkbNB1BleGwEI 9RcwFl2RoZI+KQLkCtWRMl0J9P4xu1xeNJHhu1UzVnVyBWxDU+KC6rzUQzWOb3WAsT JRnHGnpWRbkL2OPbdE9dJFKcY/WpHvRVBOtzRzMFHA2YemLxwRaw0oufU1ZMx5B85i q3TMPPyosMyQA== Received: by phobos.denx.de (Postfix, from userid 109) id 724B983479; Fri, 8 Oct 2021 17:51:03 +0200 (CEST) Received: from mout-u-205.mailbox.org (mout-u-205.mailbox.org [91.198.250.254]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 35D28831B4 for ; Fri, 8 Oct 2021 17:51:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sr@denx.de Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:105:465:1:4:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-205.mailbox.org (Postfix) with ESMTPS id 4HQt2X0fcQzQjPk; Fri, 8 Oct 2021 17:51:00 +0200 (CEST) Subject: Re: [PATCH] pci: Fix printf format for regions To: =?UTF-8?Q?Pali_Roh=c3=a1r?= , Simon Glass Cc: u-boot@lists.denx.de References: <20211008150124.17516-1-pali@kernel.org> From: Stefan Roese Message-ID: <5adfed31-bc25-d78c-332b-30e34fc0ed5e@denx.de> Date: Fri, 8 Oct 2021 17:50:56 +0200 MIME-Version: 1.0 In-Reply-To: <20211008150124.17516-1-pali@kernel.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 31CFE26C 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 On 08.10.21 17:01, Pali Rohár wrote: > Correct printf format for unsigned long long is %llx and not %llxx. > > Signed-off-by: Pali Rohár Reviewed-by: Stefan Roese Thanks, Stefan > --- > drivers/pci/pci_auto_common.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/pci/pci_auto_common.c b/drivers/pci/pci_auto_common.c > index 5e7f3dbd10b5..b9a4aef1ecf8 100644 > --- a/drivers/pci/pci_auto_common.c > +++ b/drivers/pci/pci_auto_common.c > @@ -76,7 +76,7 @@ static void pciauto_show_region(const char *name, struct pci_region *region) > { > pciauto_region_init(region); > debug("PCI Autoconfig: Bus %s region: [%llx-%llx],\n" > - "\t\tPhysical Memory [%llx-%llxx]\n", name, > + "\t\tPhysical Memory [%llx-%llx]\n", name, > (unsigned long long)region->bus_start, > (unsigned long long)(region->bus_start + region->size - 1), > (unsigned long long)region->phys_start, > Viele Grüße, Stefan -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de