2018-02-01 14:03:23

by Niklas Cassel

[permalink] [raw]
Subject: [PATCH] PCI: designware-ep: Fix typo in error message

Fix typo in error message. s/deb_base2/dbi_base2/

Signed-off-by: Niklas Cassel <[email protected]>
---
drivers/pci/dwc/pcie-designware-ep.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pci/dwc/pcie-designware-ep.c b/drivers/pci/dwc/pcie-designware-ep.c
index 3a6feeff5f5b..9236b998327f 100644
--- a/drivers/pci/dwc/pcie-designware-ep.c
+++ b/drivers/pci/dwc/pcie-designware-ep.c
@@ -322,7 +322,7 @@ int dw_pcie_ep_init(struct dw_pcie_ep *ep)
struct device_node *np = dev->of_node;

if (!pci->dbi_base || !pci->dbi_base2) {
- dev_err(dev, "dbi_base/deb_base2 is not populated\n");
+ dev_err(dev, "dbi_base/dbi_base2 is not populated\n");
return -EINVAL;
}

--
2.14.2



2018-02-26 09:48:48

by Lorenzo Pieralisi

[permalink] [raw]
Subject: Re: [PATCH] PCI: designware-ep: Fix typo in error message

On Thu, Feb 01, 2018 at 03:02:23PM +0100, Niklas Cassel wrote:
> Fix typo in error message. s/deb_base2/dbi_base2/
>
> Signed-off-by: Niklas Cassel <[email protected]>
> ---
> drivers/pci/dwc/pcie-designware-ep.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to pci/dwc for v4.17, thanks.

Lorenzo

> diff --git a/drivers/pci/dwc/pcie-designware-ep.c b/drivers/pci/dwc/pcie-designware-ep.c
> index 3a6feeff5f5b..9236b998327f 100644
> --- a/drivers/pci/dwc/pcie-designware-ep.c
> +++ b/drivers/pci/dwc/pcie-designware-ep.c
> @@ -322,7 +322,7 @@ int dw_pcie_ep_init(struct dw_pcie_ep *ep)
> struct device_node *np = dev->of_node;
>
> if (!pci->dbi_base || !pci->dbi_base2) {
> - dev_err(dev, "dbi_base/deb_base2 is not populated\n");
> + dev_err(dev, "dbi_base/dbi_base2 is not populated\n");
> return -EINVAL;
> }
>
> --
> 2.14.2
>