Message ID | 20120413.131830.1607474737155362155.hdoyu@nvidia.com |
---|---|
State | Not Applicable, archived |
Headers | show |
* 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>
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 --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: