PCI: designware-ep: Fix typo in error message

Message ID 20180201140224.28229-1-niklas.cassel@axis.com
State Accepted
Headers show
Series
  • PCI: designware-ep: Fix typo in error message
Related show

Commit Message

Niklas Cassel Feb. 1, 2018, 2:02 p.m.
Fix typo in error message. s/deb_base2/dbi_base2/

Signed-off-by: Niklas Cassel <niklas.cassel@axis.com>
---
 drivers/pci/dwc/pcie-designware-ep.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Lorenzo Pieralisi Feb. 26, 2018, 9:47 a.m. | #1
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 <niklas.cassel@axis.com>
> ---
>  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
>

Patch

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;
 	}