All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bjorn Andersson <bjorn.andersson@linaro.org>
To: Peter Chen <peter.chen@nxp.com>
Cc: mathieu.poirier@linaro.org, linux-arm-kernel@lists.infradead.org,
	linux-arm-msm@vger.kernel.org
Subject: Re: [PATCH 1/2] hwspinlock: qcom_hwspinlock: add missing of_node_put after calling of_parse_phandle
Date: Wed, 6 Jul 2016 12:35:12 -0700	[thread overview]
Message-ID: <20160706193512.GB23833@tuxbot> (raw)
In-Reply-To: <1467684664-21155-1-git-send-email-peter.chen@nxp.com>

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

WARNING: multiple messages have this Message-ID (diff)
From: bjorn.andersson@linaro.org (Bjorn Andersson)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] hwspinlock: qcom_hwspinlock: add missing of_node_put after calling of_parse_phandle
Date: Wed, 6 Jul 2016 12:35:12 -0700	[thread overview]
Message-ID: <20160706193512.GB23833@tuxbot> (raw)
In-Reply-To: <1467684664-21155-1-git-send-email-peter.chen@nxp.com>

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

  parent reply	other threads:[~2016-07-06 19:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Bjorn Andersson [this message]
2016-07-06 19:35   ` [PATCH 1/2] hwspinlock: qcom_hwspinlock: " 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160706193512.GB23833@tuxbot \
    --to=bjorn.andersson@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=mathieu.poirier@linaro.org \
    --cc=peter.chen@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.