hwspinlock: qcom_hwspinlock: add missing of_node_put after calling of_parse_phandle
Subsystems (4)
PATCH 1/2 hwspinlock: qcom_hwspinlock: add missing of_node_put after calling of_parse_phandle
of_node_put needs to be called when the device node which is got from of_parse_phandle has finished using.
--- drivers/hwspinlock/qcom_hwspinlock.c | 1 + 1 file changed, 1 insertion(+)
drivers/hwspinlock/qcom_hwspinlock.c +1 -0
@@ -98,6 +98,7 @@ static int qcom_hwspinlock_probe(struct platform_device *pdev) } regmap =syscon_node_to_regmap (syscon); +of_node_put (syscon);if (IS_ERR (regmap))return PTR_ERR (regmap);
Signature · 1 line
1.9.1
PATCH 2/2 hwtracing: coresight: of_coresight: add missing of_node_put after calling of_parse_phandle
of_node_put needs to be called when the device node which is got from of_parse_phandle has finished using.
--- drivers/hwtracing/coresight/of_coresight.c | 1 + 1 file changed, 1 insertion(+)
drivers/hwtracing/coresight/of_coresight.c +1 -0
@@ -184,6 +184,7 @@ struct coresight_platform_data *of_get_coresight_platform_data(break ; } } +of_node_put (dn);return pdata; }
Signature · 1 line
1.9.1
PATCH 2/2 hwtracing: coresight: of_coresight: add missing of_node_put after calling of_parse_phandle
Quoted 23 lines · Peter Chen
of_node_putneeds to be called when the device node which is got fromof_parse_phandlehas finished using.Cc linux-arm-kernel at lists.infradead.orgCc Mathieu Poirier <[email protected]>Signed-off-by Peter Chen <[email protected]>--- drivers/hwtracing/coresight/of_coresight.c | 1 + 1 file changed, 1 insertion(+)drivers/hwtracing/coresight/of_coresight.c +1
-1@@ -184,6 +184,7 @@ struct coresight_platform_data *of_get_coresight_platform_data(break ; } } +of_node_put (dn);return pdata; } --
Quoted 2 lines
1.9.1
Applied - thanks.
Mathieu
Bjorn Andersson
AppliedPATCH 1/2 hwspinlock: qcom_hwspinlock: add missing of_node_put after calling of_parse_phandle
In reply to Peter ChenQuoted 6 lines · Peter Chen
of_node_putneeds to be called when the device node which is got fromof_parse_phandlehas finished using.Cc linux-arm-kernel at lists.infradead.orgCc linux-arm-msm at vger.kernel.orgSigned-off-by Peter Chen <[email protected]>
Applied.
Please use get_maintainer.pl to find out whom to send patches to, I only stumbled upon this while looking for something else.
Thanks,
Bjorn
Quoted 24 lines
--- drivers/hwspinlock/qcom_hwspinlock.c | 1 + 1 file changed, 1 insertion(+)drivers/hwspinlock/qcom_hwspinlock.c +1
-0@@ -98,6 +98,7 @@ static int qcom_hwspinlock_probe(struct platform_device *pdev) } regmap =syscon_node_to_regmap (syscon); +of_node_put (syscon);if (IS_ERR (regmap))return PTR_ERR (regmap);Signature · 7 lines
1.9.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel at lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 1/2 hwspinlock: qcom_hwspinlock: add missing of_node_put after calling of_parse_phandle
Quoted 6 lines · Peter Chen
Quoted 4 lines
of_node_putneeds to be called when the device node which is got fromof_parse_phandlehas finished using.
Quoted 9 lines
Quoted 3 lines
Cc linux-arm-kernel at lists.infradead.orgCc linux-arm-msm at vger.kernel.orgSigned-off-by Peter Chen <[email protected]>Applied.
Please use get_maintainer.pl to find out whom to send patches to, I only stumbled upon this while looking for something else.
There is no maintainer for this file. Below is the output for get_maintainer.pl:
$ ./scripts/get_maintainer.pl patch_0705_2/0001-hwspinlock-qcom_hwspinlock-add-missing-of_node_put-a.patch linux-kernel at vger.kernel.org (open list)
Thanks,
Peter
PATCH 1/2 hwspinlock: qcom_hwspinlock: add missing of_node_put after calling of_parse_phandle
Quoted 12 lines · Peter Chen
Quoted 12 lines · Peter Chen
Quoted 7 lines
of_node_putneeds to be called when the device node which is got fromof_parse_phandlehas finished using.Cc linux-arm-kernel at lists.infradead.orgCc linux-arm-msm at vger.kernel.orgSigned-off-by Peter Chen <[email protected]>Applied.
Quoted 9 lines
Quoted 3 lines
Please use get_maintainer.pl to find out whom to send patches to, I only stumbled upon this while looking for something else.
There is no maintainer for this file. Below is the output for get_maintainer.pl:
$ ./scripts/get_maintainer.pl patch_0705_2/0001-hwspinlock-qcom_hwspinlock-add-missing-of_node_put-a.patch linux-kernel at vger.kernel.org (open list)
That's not good, sorry about that! I sent out a patch including the other files as well as hwlock related dt bindings.
Regards,
Bjorn