aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-07-27 18:50:14 +0200
committerTom Rini <trini@konsulko.com>2023-08-08 17:41:52 -0400
commit70fdcc704a978acb4de5e891469825596c0d292e (patch)
tree7c22536424032112c0c5e3ddce45f0333478f355
parentd8cb1dc91413baf8ac3388aab2070a8f35b13c0b (diff)
downloadu-boot-WIP/2023-08-08-assorted-code-corrections.zip
u-boot-WIP/2023-08-08-assorted-code-corrections.tar.gz
u-boot-WIP/2023-08-08-assorted-code-corrections.tar.bz2
pci: correct function name in messageWIP/2023-08-08-assorted-code-corrections
If an error message contains a function name, it should match the name of the function throwing the message. Fixes: 7739d93d8288 ("pci: Match region flags using a mask") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r--drivers/pci/pci-uclass.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/pci-uclass.c b/drivers/pci/pci-uclass.c
index 632c1a6..7f3d6dd 100644
--- a/drivers/pci/pci-uclass.c
+++ b/drivers/pci/pci-uclass.c
@@ -1446,7 +1446,7 @@ phys_addr_t dm_pci_bus_to_phys(struct udevice *dev, pci_addr_t bus_addr,
return res->phys_start + offset;
}
- puts("pci_hose_bus_to_phys: invalid physical address\n");
+ puts("dm_pci_bus_to_phys: invalid physical address\n");
return 0;
}
@@ -1486,7 +1486,7 @@ pci_addr_t dm_pci_phys_to_bus(struct udevice *dev, phys_addr_t phys_addr,
return res->bus_start + offset;
}
- puts("pci_hose_phys_to_bus: invalid physical address\n");
+ puts("dm_pci_phys_to_bus: invalid physical address\n");
return 0;
}