diff options
| -rw-r--r-- | drivers/pci/host/pci-mvebu.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/pci/host/pci-mvebu.c b/drivers/pci/host/pci-mvebu.c index 29d64c9efa85..7f450322f397 100644 --- a/drivers/pci/host/pci-mvebu.c +++ b/drivers/pci/host/pci-mvebu.c | |||
| @@ -328,9 +328,11 @@ static void mvebu_pcie_add_windows(struct mvebu_pcie_port *port, | |||
| 328 | ret = mvebu_mbus_add_window_remap_by_id(target, attribute, base, | 328 | ret = mvebu_mbus_add_window_remap_by_id(target, attribute, base, |
| 329 | sz, remap); | 329 | sz, remap); |
| 330 | if (ret) { | 330 | if (ret) { |
| 331 | phys_addr_t end = base + sz - 1; | ||
| 332 | |||
| 331 | dev_err(&port->pcie->pdev->dev, | 333 | dev_err(&port->pcie->pdev->dev, |
| 332 | "Could not create MBus window at 0x%x, size 0x%x: %d\n", | 334 | "Could not create MBus window at [mem %pa-%pa]: %d\n", |
| 333 | base, sz, ret); | 335 | &base, &end, ret); |
| 334 | mvebu_pcie_del_windows(port, base - size_mapped, | 336 | mvebu_pcie_del_windows(port, base - size_mapped, |
| 335 | size_mapped); | 337 | size_mapped); |
| 336 | return; | 338 | return; |
