public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] iommu/exynos: Fix build error
@ 2012-08-01  9:05 Sachin Kamat
  2012-08-01  9:31 ` Kukjin Kim
  2012-08-03 14:09 ` Joerg Roedel
  0 siblings, 2 replies; 3+ messages in thread
From: Sachin Kamat @ 2012-08-01  9:05 UTC (permalink / raw)
  To: linux-kernel; +Cc: kgene.kim, joerg.roedel, pullip.cho, sachin.kamat, patches

Fixes the following build error introduced by commit 3177bb76a8
("iommu/exynos: Implement DOMAIN_ATTR_GEOMETRY attribute"):

drivers/iommu/exynos-iommu.c: In function ‘exynos_iommu_domain_init’:
drivers/iommu/exynos-iommu.c:735:2: error: ‘dom’ undeclared
(first use in this function)

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 drivers/iommu/exynos-iommu.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c
index 45350ff..80bad32 100644
--- a/drivers/iommu/exynos-iommu.c
+++ b/drivers/iommu/exynos-iommu.c
@@ -732,9 +732,9 @@ static int exynos_iommu_domain_init(struct iommu_domain *domain)
 	spin_lock_init(&priv->pgtablelock);
 	INIT_LIST_HEAD(&priv->clients);
 
-	dom->geometry.aperture_start = 0;
-	dom->geometry.aperture_end   = ~0UL;
-	dom->geometry.force_aperture = true;
+	domain->geometry.aperture_start = 0;
+	domain->geometry.aperture_end   = ~0UL;
+	domain->geometry.force_aperture = true;
 
 	domain->priv = priv;
 	return 0;
-- 
1.7.4.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* RE: [PATCH] iommu/exynos: Fix build error
  2012-08-01  9:05 [PATCH] iommu/exynos: Fix build error Sachin Kamat
@ 2012-08-01  9:31 ` Kukjin Kim
  2012-08-03 14:09 ` Joerg Roedel
  1 sibling, 0 replies; 3+ messages in thread
From: Kukjin Kim @ 2012-08-01  9:31 UTC (permalink / raw)
  To: 'Sachin Kamat', linux-kernel; +Cc: joerg.roedel, pullip.cho, patches

Sachin Kamat wrote:
> 
> Fixes the following build error introduced by commit 3177bb76a8
> ("iommu/exynos: Implement DOMAIN_ATTR_GEOMETRY attribute"):
> 
> drivers/iommu/exynos-iommu.c: In function ‘exynos_iommu_domain_init’:
> drivers/iommu/exynos-iommu.c:735:2: error: ‘dom’ undeclared
> (first use in this function)
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>

Acked-by: Kukjin Kim <kgene.kim@samsung.com>

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] iommu/exynos: Fix build error
  2012-08-01  9:05 [PATCH] iommu/exynos: Fix build error Sachin Kamat
  2012-08-01  9:31 ` Kukjin Kim
@ 2012-08-03 14:09 ` Joerg Roedel
  1 sibling, 0 replies; 3+ messages in thread
From: Joerg Roedel @ 2012-08-03 14:09 UTC (permalink / raw)
  To: Sachin Kamat; +Cc: linux-kernel, kgene.kim, pullip.cho, patches

On Wed, Aug 01, 2012 at 02:35:17PM +0530, Sachin Kamat wrote:
> Fixes the following build error introduced by commit 3177bb76a8
> ("iommu/exynos: Implement DOMAIN_ATTR_GEOMETRY attribute"):
> 
> drivers/iommu/exynos-iommu.c: In function ‘exynos_iommu_domain_init’:
> drivers/iommu/exynos-iommu.c:735:2: error: ‘dom’ undeclared
> (first use in this function)
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>

Applied to iommu/fixes, thanks Sachin.

-- 
AMD Operating System Research Center

Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach
General Managers: Alberto Bozzo
Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen, HRB Nr. 43632


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-08-03 14:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-01  9:05 [PATCH] iommu/exynos: Fix build error Sachin Kamat
2012-08-01  9:31 ` Kukjin Kim
2012-08-03 14:09 ` Joerg Roedel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox