Skip to contentSkip to conversation

iommu: ipmmu-vmsa: Add terminating entry for ipmmu_of_ids

PATCH Applied Axel Lin 3 participants 4 messages Mar 17, 2015 – Mar 23, 2015 IOMMU

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 iommu: ipmmu-vmsa: Add terminating entry for ipmmu_of_ids

The of_device_id table is supposed to be zero-terminated.

---
 drivers/iommu/ipmmu-vmsa.c | 1 +
 1 file changed, 1 insertion(+)
drivers/iommu/ipmmu-vmsa.c +1 -0
index 10186ca..bc39bdf 100644
@@ -851,6 +851,7 @@ static int ipmmu_remove(struct platform_device *pdev)
 
 static const struct of_device_id ipmmu_of_ids[] = {
 	{ .compatible = "renesas,ipmmu-vmsa", },
+	{ }
 };
 
 static struct platform_driver ipmmu_driver = {
Signature · 1 line
1.9.1
Acked-by on v1 1/1
#1 lore raw

Hi Axel,

Thank you for the patch.

Quoted 3 lines · On Tuesday 17 March 2015 08:06:45 Axel Lin wrote:

The of_device_id table is supposed to be zero-terminated.

Joerg, I don't have anything queued up at the moment, could you please pick the patch from the list ?

Quoted 16 lines
---
 drivers/iommu/ipmmu-vmsa.c | 1 +
 1 file changed, 1 insertion(+)
drivers/iommu/ipmmu-vmsa.c +1 -0
index 10186ca..bc39bdf 100644
@@ -851,6 +851,7 @@ static int ipmmu_remove(struct platform_device *pdev)
 
 static const struct of_device_id ipmmu_of_ids[] = {
 	{ .compatible = "renesas,ipmmu-vmsa", },
+	{ }
 };
 
 static struct platform_driver ipmmu_driver = {
Signature · 3 lines
Regards,

Laurent Pinchart
#2 lore raw

Hi Joerg,

Quoted 9 lines · On Wednesday 18 March 2015 01:28:50 Laurent Pinchart wrote:
Quoted 3 lines · On Tuesday 17 March 2015 08:06:45 Axel Lin wrote:

The of_device_id table is supposed to be zero-terminated.

Joerg, I don't have anything queued up at the moment, could you please pick the patch from the list ?

Thinking twice about this, as DT support has been introduced in v4.0-rc1, so this is a v4.0 regression fix. Could you push it to Linus for v4.0 ?

Quoted 17 lines
Quoted 17 lines

---

 drivers/iommu/ipmmu-vmsa.c | 1 +
 1 file changed, 1 insertion(+)
drivers/iommu/ipmmu-vmsa.c +1 -0
index 10186ca..bc39bdf 100644
@@ -851,6 +851,7 @@ static int ipmmu_remove(struct platform_device *pdev)
 
 static const struct of_device_id ipmmu_of_ids[] = {
 	{ .compatible = "renesas,ipmmu-vmsa", },
+	{ }
 };
 
 static struct platform_driver ipmmu_driver = {
Signature · 3 lines
Regards,

Laurent Pinchart