diff mbox series

[U-Boot,1/2] PCI: Add newlines to debug prints in pci_auto_common.c

Message ID 20180514163813.1219-1-tuomas.tynkkynen@iki.fi
State Accepted
Commit ed12a89d0738dd030c42a608efa7a72dd4a1f6da
Delegated to: Tom Rini
Headers show
Series [U-Boot,1/2] PCI: Add newlines to debug prints in pci_auto_common.c | expand

Commit Message

Tuomas Tynkkynen May 14, 2018, 4:38 p.m. UTC
All of the debug output from this file is squished to one line. Fix
it.

Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
---
 drivers/pci/pci_auto_common.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Simon Glass May 14, 2018, 7:53 p.m. UTC | #1
On 14 May 2018 at 10:38, Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> wrote:
> All of the debug output from this file is squished to one line. Fix
> it.
>
> Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
> ---
>  drivers/pci/pci_auto_common.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg@chromium.org>
Tom Rini May 28, 2018, 7:12 p.m. UTC | #2
On Mon, May 14, 2018 at 07:38:12PM +0300, Tuomas Tynkkynen wrote:

> 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>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/drivers/pci/pci_auto_common.c b/drivers/pci/pci_auto_common.c
index 1d202ae2ef..d90dbcf91a 100644
--- a/drivers/pci/pci_auto_common.c
+++ b/drivers/pci/pci_auto_common.c
@@ -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;