All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] hwspinlock: qcom_hwspinlock: add missing of_node_put after calling of_parse_phandle
@ 2016-07-05  2:11 ` Peter Chen
  0 siblings, 0 replies; 10+ messages in thread
From: Peter Chen @ 2016-07-05  2:11 UTC (permalink / raw)
  To: mathieu.poirier; +Cc: Peter Chen, linux-arm-kernel, linux-arm-msm

of_node_put needs to be called when the device node which is got
from of_parse_phandle has finished using.

Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-arm-msm@vger.kernel.org
Signed-off-by: Peter Chen <peter.chen@nxp.com>
---
 drivers/hwspinlock/qcom_hwspinlock.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/hwspinlock/qcom_hwspinlock.c b/drivers/hwspinlock/qcom_hwspinlock.c
index c752447..fa6880b 100644
--- a/drivers/hwspinlock/qcom_hwspinlock.c
+++ b/drivers/hwspinlock/qcom_hwspinlock.c
@@ -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);
 
-- 
1.9.1

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

* [PATCH 1/2] hwspinlock: qcom_hwspinlock: add missing of_node_put after calling of_parse_phandle
@ 2016-07-05  2:11 ` Peter Chen
  0 siblings, 0 replies; 10+ messages in thread
From: Peter Chen @ 2016-07-05  2:11 UTC (permalink / raw)
  To: linux-arm-kernel

of_node_put needs to be called when the device node which is got
from of_parse_phandle has finished using.

Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-arm-msm at vger.kernel.org
Signed-off-by: Peter Chen <peter.chen@nxp.com>
---
 drivers/hwspinlock/qcom_hwspinlock.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/hwspinlock/qcom_hwspinlock.c b/drivers/hwspinlock/qcom_hwspinlock.c
index c752447..fa6880b 100644
--- a/drivers/hwspinlock/qcom_hwspinlock.c
+++ b/drivers/hwspinlock/qcom_hwspinlock.c
@@ -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);
 
-- 
1.9.1

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

* [PATCH 2/2] hwtracing: coresight: of_coresight: add missing of_node_put after calling of_parse_phandle
  2016-07-05  2:11 ` Peter Chen
  (?)
@ 2016-07-05  2:11 ` Peter Chen
  2016-07-05 16:44   ` Mathieu Poirier
  -1 siblings, 1 reply; 10+ messages in thread
From: Peter Chen @ 2016-07-05  2:11 UTC (permalink / raw)
  To: linux-arm-kernel

of_node_put needs to be called when the device node which is got
from of_parse_phandle has finished using.

Cc: linux-arm-kernel at lists.infradead.org
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
---
 drivers/hwtracing/coresight/of_coresight.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/hwtracing/coresight/of_coresight.c b/drivers/hwtracing/coresight/of_coresight.c
index b68da18..b693a4b 100644
--- a/drivers/hwtracing/coresight/of_coresight.c
+++ b/drivers/hwtracing/coresight/of_coresight.c
@@ -184,6 +184,7 @@ struct coresight_platform_data *of_get_coresight_platform_data(
 			break;
 		}
 	}
+	of_node_put(dn);
 
 	return pdata;
 }
-- 
1.9.1

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

* [PATCH 2/2] hwtracing: coresight: of_coresight: add missing of_node_put after calling of_parse_phandle
  2016-07-05  2:11 ` [PATCH 2/2] hwtracing: coresight: of_coresight: " Peter Chen
@ 2016-07-05 16:44   ` Mathieu Poirier
  0 siblings, 0 replies; 10+ messages in thread
From: Mathieu Poirier @ 2016-07-05 16:44 UTC (permalink / raw)
  To: linux-arm-kernel

On 4 July 2016 at 20:11, Peter Chen <peter.chen@nxp.com> wrote:
> of_node_put needs to be called when the device node which is got
> from of_parse_phandle has finished using.
>
> Cc: linux-arm-kernel at lists.infradead.org
> Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
> Signed-off-by: Peter Chen <peter.chen@nxp.com>
> ---
>  drivers/hwtracing/coresight/of_coresight.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/hwtracing/coresight/of_coresight.c b/drivers/hwtracing/coresight/of_coresight.c
> index b68da18..b693a4b 100644
> --- a/drivers/hwtracing/coresight/of_coresight.c
> +++ b/drivers/hwtracing/coresight/of_coresight.c
> @@ -184,6 +184,7 @@ struct coresight_platform_data *of_get_coresight_platform_data(
>                         break;
>                 }
>         }
> +       of_node_put(dn);
>
>         return pdata;
>  }
> --
> 1.9.1
>

Applied - thanks.
Mathieu

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

* Re: [PATCH 1/2] hwspinlock: qcom_hwspinlock: add missing of_node_put after calling of_parse_phandle
  2016-07-05  2:11 ` Peter Chen
@ 2016-07-06 19:35   ` Bjorn Andersson
  -1 siblings, 0 replies; 10+ messages in thread
From: Bjorn Andersson @ 2016-07-06 19:35 UTC (permalink / raw)
  To: Peter Chen; +Cc: mathieu.poirier, linux-arm-kernel, linux-arm-msm

On Mon 04 Jul 19:11 PDT 2016, Peter Chen wrote:

> of_node_put needs to be called when the device node which is got
> from of_parse_phandle has finished using.
> 
> Cc: linux-arm-kernel@lists.infradead.org
> Cc: linux-arm-msm@vger.kernel.org
> Signed-off-by: Peter Chen <peter.chen@nxp.com>

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

> ---
>  drivers/hwspinlock/qcom_hwspinlock.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/hwspinlock/qcom_hwspinlock.c b/drivers/hwspinlock/qcom_hwspinlock.c
> index c752447..fa6880b 100644
> --- a/drivers/hwspinlock/qcom_hwspinlock.c
> +++ b/drivers/hwspinlock/qcom_hwspinlock.c
> @@ -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);
>  
> -- 
> 1.9.1
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [PATCH 1/2] hwspinlock: qcom_hwspinlock: add missing of_node_put after calling of_parse_phandle
@ 2016-07-06 19:35   ` Bjorn Andersson
  0 siblings, 0 replies; 10+ messages in thread
From: Bjorn Andersson @ 2016-07-06 19:35 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon 04 Jul 19:11 PDT 2016, Peter Chen wrote:

> of_node_put needs to be called when the device node which is got
> from of_parse_phandle has finished using.
> 
> Cc: linux-arm-kernel at lists.infradead.org
> Cc: linux-arm-msm at vger.kernel.org
> Signed-off-by: Peter Chen <peter.chen@nxp.com>

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

> ---
>  drivers/hwspinlock/qcom_hwspinlock.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/hwspinlock/qcom_hwspinlock.c b/drivers/hwspinlock/qcom_hwspinlock.c
> index c752447..fa6880b 100644
> --- a/drivers/hwspinlock/qcom_hwspinlock.c
> +++ b/drivers/hwspinlock/qcom_hwspinlock.c
> @@ -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);
>  
> -- 
> 1.9.1
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* RE: [PATCH 1/2] hwspinlock: qcom_hwspinlock: add missing of_node_put after calling of_parse_phandle
  2016-07-06 19:35   ` Bjorn Andersson
@ 2016-07-07  1:18     ` Peter Chen
  -1 siblings, 0 replies; 10+ messages in thread
From: Peter Chen @ 2016-07-07  1:18 UTC (permalink / raw)
  To: Bjorn Andersson; +Cc: linux-arm-msm, linux-arm-kernel, mathieu.poirier

 
>On Mon 04 Jul 19:11 PDT 2016, Peter Chen wrote:
>
>> of_node_put needs to be called when the device node which is got from
>> of_parse_phandle has finished using.
>>
>> Cc: linux-arm-kernel@lists.infradead.org
>> Cc: linux-arm-msm@vger.kernel.org
>> Signed-off-by: Peter Chen <peter.chen@nxp.com>
>
>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@vger.kernel.org (open list)


Thanks,
Peter

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

* [PATCH 1/2] hwspinlock: qcom_hwspinlock: add missing of_node_put after calling of_parse_phandle
@ 2016-07-07  1:18     ` Peter Chen
  0 siblings, 0 replies; 10+ messages in thread
From: Peter Chen @ 2016-07-07  1:18 UTC (permalink / raw)
  To: linux-arm-kernel

 
>On Mon 04 Jul 19:11 PDT 2016, Peter Chen wrote:
>
>> of_node_put needs to be called when the device node which is got from
>> of_parse_phandle has finished using.
>>
>> Cc: linux-arm-kernel at lists.infradead.org
>> Cc: linux-arm-msm at vger.kernel.org
>> Signed-off-by: Peter Chen <peter.chen@nxp.com>
>
>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

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

* Re: [PATCH 1/2] hwspinlock: qcom_hwspinlock: add missing of_node_put after calling of_parse_phandle
  2016-07-07  1:18     ` Peter Chen
@ 2016-07-07  3:50       ` Bjorn Andersson
  -1 siblings, 0 replies; 10+ messages in thread
From: Bjorn Andersson @ 2016-07-07  3:50 UTC (permalink / raw)
  To: Peter Chen; +Cc: mathieu.poirier, linux-arm-kernel, linux-arm-msm

On Wed 06 Jul 18:18 PDT 2016, Peter Chen wrote:

>  
> >On Mon 04 Jul 19:11 PDT 2016, Peter Chen wrote:
> >
> >> of_node_put needs to be called when the device node which is got from
> >> of_parse_phandle has finished using.
> >>
> >> Cc: linux-arm-kernel@lists.infradead.org
> >> Cc: linux-arm-msm@vger.kernel.org
> >> Signed-off-by: Peter Chen <peter.chen@nxp.com>
> >
> >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@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

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

* [PATCH 1/2] hwspinlock: qcom_hwspinlock: add missing of_node_put after calling of_parse_phandle
@ 2016-07-07  3:50       ` Bjorn Andersson
  0 siblings, 0 replies; 10+ messages in thread
From: Bjorn Andersson @ 2016-07-07  3:50 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed 06 Jul 18:18 PDT 2016, Peter Chen wrote:

>  
> >On Mon 04 Jul 19:11 PDT 2016, Peter Chen wrote:
> >
> >> of_node_put needs to be called when the device node which is got from
> >> of_parse_phandle has finished using.
> >>
> >> Cc: linux-arm-kernel at lists.infradead.org
> >> Cc: linux-arm-msm at vger.kernel.org
> >> Signed-off-by: Peter Chen <peter.chen@nxp.com>
> >
> >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)
> 

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

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

end of thread, other threads:[~2016-07-07  3:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-05  2:11 [PATCH 1/2] hwspinlock: qcom_hwspinlock: add missing of_node_put after calling of_parse_phandle Peter Chen
2016-07-05  2:11 ` Peter Chen
2016-07-05  2:11 ` [PATCH 2/2] hwtracing: coresight: of_coresight: " Peter Chen
2016-07-05 16:44   ` Mathieu Poirier
2016-07-06 19:35 ` [PATCH 1/2] hwspinlock: qcom_hwspinlock: " Bjorn Andersson
2016-07-06 19:35   ` Bjorn Andersson
2016-07-07  1:18   ` Peter Chen
2016-07-07  1:18     ` Peter Chen
2016-07-07  3:50     ` Bjorn Andersson
2016-07-07  3:50       ` Bjorn Andersson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.