]> git.sur5r.net Git - u-boot/commitdiff
PCI: Add newlines to debug prints in pci_auto_common.c
authorTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Mon, 14 May 2018 16:38:12 +0000 (19:38 +0300)
committerTom Rini <trini@konsulko.com>
Sat, 26 May 2018 16:46:50 +0000 (12:46 -0400)
All of the debug output from this file is squished to one line. Fix
it.

Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/pci/pci_auto_common.c

index 1d202ae2ef03e0f8907075a9b9983a90e506e6de..d90dbcf91a2af37a307bf751a09552f07a9cd1cf 100644 (file)
@@ -37,7 +37,7 @@ int pciauto_region_allocate(struct pci_region *res, pci_size_t size,
        pci_addr_t addr;
 
        if (!res) {
-               debug("No resource");
+               debug("No resource\n");
                goto error;
        }
 
@@ -50,7 +50,7 @@ int pciauto_region_allocate(struct pci_region *res, pci_size_t size,
 
        res->bus_lower = addr + size;
 
-       debug("address=0x%llx bus_lower=0x%llx", (unsigned long long)addr,
+       debug("address=0x%llx bus_lower=0x%llx\n", (unsigned long long)addr,
              (unsigned long long)res->bus_lower);
 
        *bar = addr;