Re: [RFC PATCH 3/6] of: iommu: Increment DT node refcount in of_iommu_set_ops()

2016-01-28 Thread Robin Murphy
On 27/01/16 05:21, Anup Patel wrote: We are saving pointer to iommu DT node in of_iommu_set_ops() hence we should increment DT node ref count. Oh man, shame on whoever wrote that code! :P Reviewed-by: Robin Murphy Signed-off-by: Anup Patel Reviewed-by: Ray Jui Reviewed-by: Scott Branden

Re: [RFC PATCH 3/6] of: iommu: Increment DT node refcount in of_iommu_set_ops()

2016-01-28 Thread Robin Murphy
On 27/01/16 05:21, Anup Patel wrote: We are saving pointer to iommu DT node in of_iommu_set_ops() hence we should increment DT node ref count. Oh man, shame on whoever wrote that code! :P Reviewed-by: Robin Murphy Signed-off-by: Anup Patel

[RFC PATCH 3/6] of: iommu: Increment DT node refcount in of_iommu_set_ops()

2016-01-26 Thread Anup Patel
We are saving pointer to iommu DT node in of_iommu_set_ops() hence we should increment DT node ref count. Signed-off-by: Anup Patel Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- drivers/iommu/of_iommu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iommu/of_iommu.c

[RFC PATCH 3/6] of: iommu: Increment DT node refcount in of_iommu_set_ops()

2016-01-26 Thread Anup Patel
We are saving pointer to iommu DT node in of_iommu_set_ops() hence we should increment DT node ref count. Signed-off-by: Anup Patel Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- drivers/iommu/of_iommu.c | 1 + 1 file