From: Pali Rohár Date: Fri, 8 Oct 2021 15:01:24 +0000 (+0200) Subject: pci: Fix printf format for regions X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=c3aea6870595bfb41c8ea0108874e3ee3ee42407;p=u-boot.git pci: Fix printf format for regions Correct printf format for unsigned long long is %llx and not %llxx. Signed-off-by: Pali Rohár Reviewed-by: Stefan Roese --- diff --git a/drivers/pci/pci_auto_common.c b/drivers/pci/pci_auto_common.c index c0a53dcc92..2f4aff0104 100644 --- a/drivers/pci/pci_auto_common.c +++ b/drivers/pci/pci_auto_common.c @@ -74,7 +74,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,