diff mbox

[1/1] iommu/tegra: smmu: Print device name correctly

Message ID 20120413.131830.1607474737155362155.hdoyu@nvidia.com
State Not Applicable, archived
Headers show

Commit Message

Hiroshi Doyu April 13, 2012, 10:18 a.m. UTC
From: Hiroshi DOYU <hdoyu@nvidia.com>

Print an attached device name correctly.

Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
---
 drivers/iommu/tegra-smmu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Thierry Reding April 13, 2012, 11:05 a.m. UTC | #1
* Hiroshi Doyu wrote:
> From: Hiroshi DOYU <hdoyu@nvidia.com>
> 
> Print an attached device name correctly.
> 
> Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>

Reviewed-by: Thierry Reding <thierry.reding@avionic-design.de>
Joerg Roedel April 16, 2012, 10:53 a.m. UTC | #2
On Fri, Apr 13, 2012 at 12:18:30PM +0200, Hiroshi Doyu wrote:
> From: Hiroshi DOYU <hdoyu@nvidia.com>
> 
> Print an attached device name correctly.
> 
> Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
> ---
>  drivers/iommu/tegra-smmu.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/iommu/tegra-smmu.c b/drivers/iommu/tegra-smmu.c
> index f4d859f..bf33c03 100644
> --- a/drivers/iommu/tegra-smmu.c
> +++ b/drivers/iommu/tegra-smmu.c
> @@ -734,7 +734,7 @@ static int smmu_iommu_attach_dev(struct iommu_domain *domain,
>  		pr_info("Reserve \"page zero\" for AVP vectors using a common dummy\n");
>  	}
>  
> -	dev_dbg(smmu->dev, "%s is attached\n", dev_name(c->dev));
> +	dev_dbg(smmu->dev, "%s is attached\n", dev_name(dev));
>  	return 0;
>  
>  err_client:

Applied, thanks.
diff mbox

Patch

diff --git a/drivers/iommu/tegra-smmu.c b/drivers/iommu/tegra-smmu.c
index f4d859f..bf33c03 100644
--- a/drivers/iommu/tegra-smmu.c
+++ b/drivers/iommu/tegra-smmu.c
@@ -734,7 +734,7 @@  static int smmu_iommu_attach_dev(struct iommu_domain *domain,
 		pr_info("Reserve \"page zero\" for AVP vectors using a common dummy\n");
 	}
 
-	dev_dbg(smmu->dev, "%s is attached\n", dev_name(c->dev));
+	dev_dbg(smmu->dev, "%s is attached\n", dev_name(dev));
 	return 0;
 
 err_client: