Skip to contentSkip to conversation

iommu/exynos: do not include removed header

PATCH NAK Cho KyongHo 2 participants 5 messages Mar 14, 2014 – Mar 17, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v11 1/27 iommu/exynos: do not include removed header

Commit 25e9d28d92 (ARM: EXYNOS: remove system mmu initialization from exynos tree) removed arch/arm/mach-exynos/mach/sysmmu.h header without removing remaining use of it from exynos-iommu driver, thus causing a compilation error.

This patch fixes the error by removing respective include line from exynos-iommu.c.

---
 drivers/iommu/exynos-iommu.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/iommu/exynos-iommu.c +1 -2
index 0740189..4876d35 100644
@@ -12,6 +12,7 @@
 #define DEBUG
 #endif
 
+#include <linux/kernel.h>
 #include <linux/io.h>
 #include <linux/interrupt.h>
 #include <linux/platform_device.h>
@@ -29,8 +30,6 @@
 #include <asm/cacheflush.h>
 #include <asm/pgtable.h>
 
-#include <mach/sysmmu.h>
-
 /* We does not consider super section mapping (16MB) */
 #define SECT_ORDER 20
 #define LPAGE_ORDER 16
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 19 lines · Cho KyongHo

Commit 25e9d28d92 (ARM: EXYNOS: remove system mmu initialization from exynos tree) removed arch/arm/mach-exynos/mach/sysmmu.h header without removing remaining use of it from exynos-iommu driver, thus causing a compilation error.

This patch fixes the error by removing respective include line from exynos-iommu.c.

---
 drivers/iommu/exynos-iommu.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/iommu/exynos-iommu.c +0 -0
index 0740189..4876d35 100644

drivers/iommu/exynos-iommu.c line 15

Quoted 4 lines
drivers/iommu/exynos-iommu.c +1 -0
@@ -12,6 +12,7 @@
 #define DEBUG
 #endif
 
+#include <linux/kernel.h>

This change doesn't look related to the patch subject/description.

Signature · 2 lines
With warm regards,
Sachin
#2 lore raw
Quoted 26 lines

From: Sachin Kamat [mailto:sachin.kamat at linaro.org]
Sent: Friday, March 14, 2014 7:00 PM

Quoted 22 lines · Cho KyongHo

Commit 25e9d28d92 (ARM: EXYNOS: remove system mmu initialization from exynos tree) removed arch/arm/mach-exynos/mach/sysmmu.h header without removing remaining use of it from exynos-iommu driver, thus causing a compilation error.

This patch fixes the error by removing respective include line from exynos-iommu.c.

---
 drivers/iommu/exynos-iommu.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/iommu/exynos-iommu.c +0 -0
index 0740189..4876d35 100644
@@ -12,6 +12,7 @@
 #define DEBUG
 #endif
 
Quoted 4 lines

drivers/iommu/exynos-iommu.c line 15

Quoted 1 line
drivers/iommu/exynos-iommu.c +1 -0
+#include <linux/kernel.h>

This change doesn't look related to the patch subject/description.

Yes. But it is simply added without any side-effect. Do you think it should be in a separate patch?. Actually, the added line is a redundant.

Regards,

KyongHo.

#3 lore raw
Quoted 26 lines · Cho KyongHo
Quoted 26 lines

From: Sachin Kamat [mailto:sachin.kamat at linaro.org]
Sent: Friday, March 14, 2014 7:00 PM

Quoted 22 lines · Cho KyongHo

Commit 25e9d28d92 (ARM: EXYNOS: remove system mmu initialization from exynos tree) removed arch/arm/mach-exynos/mach/sysmmu.h header without removing remaining use of it from exynos-iommu driver, thus causing a compilation error.

This patch fixes the error by removing respective include line from exynos-iommu.c.

---
 drivers/iommu/exynos-iommu.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/iommu/exynos-iommu.c +0 -0
index 0740189..4876d35 100644
@@ -12,6 +12,7 @@
 #define DEBUG
 #endif
 
Quoted 7 lines
Quoted 4 lines

drivers/iommu/exynos-iommu.c line 15

Quoted 1 line
drivers/iommu/exynos-iommu.c +1 -0
+#include <linux/kernel.h>

This change doesn't look related to the patch subject/description.

Yes. But it is simply added without any side-effect. Do you think it should be in a separate patch?. Actually, the added line is a redundant.

If it is redundant, then you shouldn't be adding it. If it is required, then please
mention about the need in the commit description if not a separate patch.

Signature · 2 lines
With warm regards,
Sachin
#4 lore raw
Quoted 31 lines · Sachin Kamat
Quoted 30 lines · Cho KyongHo
Quoted 30 lines

From: Sachin Kamat [mailto:sachin.kamat at linaro.org]
Sent: Friday, March 14, 2014 7:00 PM

Quoted 19 lines · Cho KyongHo

Commit 25e9d28d92 (ARM: EXYNOS: remove system mmu initialization from exynos tree) removed arch/arm/mach-exynos/mach/sysmmu.h header without removing remaining use of it from exynos-iommu driver, thus causing a compilation error.

This patch fixes the error by removing respective include line from exynos-iommu.c.

---
 drivers/iommu/exynos-iommu.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/iommu/exynos-iommu.c +0 -0
index 0740189..4876d35 100644

drivers/iommu/exynos-iommu.c line 15

Quoted 4 lines
drivers/iommu/exynos-iommu.c +1 -0
@@ -12,6 +12,7 @@
 #define DEBUG
 #endif
 
+#include <linux/kernel.h>

This change doesn't look related to the patch subject/description.

Quoted 8 lines
Quoted 3 lines

Yes. But it is simply added without any side-effect. Do you think it should be in a separate patch?. Actually, the added line is a redundant.

If it is redundant, then you shouldn't be adding it. If it is required, then please
mention about the need in the commit description if not a separate patch.

Ok.

Thanks for the advice.

KyongHo