pci: Fix printf format for regions
authorPali Rohár <pali@kernel.org>
Fri, 8 Oct 2021 15:01:24 +0000 (17:01 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 14 Oct 2021 23:45:07 +0000 (19:45 -0400)
Correct printf format for unsigned long long is %llx and not %llxx.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/pci/pci_auto_common.c

index c0a53dc..2f4aff0 100644 (file)
@@ -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,