]> git.baikalelectronics.ru Git - uboot.git/commitdiff
pci: tegra: Update error prints with new lines
authorPeter Robinson <pbrobinson@gmail.com>
Tue, 3 May 2022 08:29:22 +0000 (09:29 +0100)
committerTom Warren <twarren@nvidia.com>
Mon, 13 Jun 2022 22:31:00 +0000 (15:31 -0700)
Add new lines to make errorr messages easier to read.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
drivers/pci/pci_tegra.c

index f8d66c0e1c6a8528490a61f699a1dcc2f9564b1d..bc489d5ec850379ba58f042b7ba7af9b5afc5cf2 100644 (file)
@@ -455,7 +455,7 @@ static int tegra_pcie_parse_port_info(ofnode node, uint *index, uint *lanes)
 
        err = ofnode_read_u32_default(node, "nvidia,num-lanes", -1);
        if (err < 0) {
-               pr_err("failed to parse \"nvidia,num-lanes\" property");
+               pr_err("failed to parse \"nvidia,num-lanes\" property\n");
                return err;
        }
 
@@ -463,7 +463,7 @@ static int tegra_pcie_parse_port_info(ofnode node, uint *index, uint *lanes)
 
        err = ofnode_read_pci_addr(node, 0, "reg", &addr);
        if (err < 0) {
-               pr_err("failed to parse \"reg\" property");
+               pr_err("failed to parse \"reg\" property\n");
                return err;
        }