mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-09-23 08:01:59 +00:00
pci: correct function name in message
If an error message contains a function name, it should match the name of
the function throwing the message.
Fixes: 7739d93d82
("pci: Match region flags using a mask")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
d8cb1dc914
commit
70fdcc704a
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue