public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH] pci: Fix printf format for regions
@ 2021-10-08 15:01 Pali Rohár
  2021-10-08 15:50 ` Stefan Roese
  2021-10-15 11:52 ` Tom Rini
  0 siblings, 2 replies; 3+ messages in thread
From: Pali Rohár @ 2021-10-08 15:01 UTC (permalink / raw)
  To: Simon Glass, Stefan Roese; +Cc: u-boot

Correct printf format for unsigned long long is %llx and not %llxx.

Signed-off-by: Pali Rohár <pali@kernel.org>
---
 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,
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-10-15 11:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-08 15:01 [PATCH] pci: Fix printf format for regions Pali Rohár
2021-10-08 15:50 ` Stefan Roese
2021-10-15 11:52 ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox