All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Lezcano <daniel.lezcano@linaro.org>
To: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh+dt@kernel.org>,
	Frank Rowand <frowand.list@gmail.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	Maxime Ripard <maxime.ripard@bootlin.com>,
	Chen-Yu Tsai <wens@csie.org>,
	Linus Walleij <linus.walleij@linaro.org>,
	Heiko Stuebner <heiko@sntech.de>,
	Thierry Reding <thierry.reding@gmail.com>,
	Jonathan Hunter <jonathanh@nvidia.com>,
	linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-gpio@vger.kernel.org, linux-rockchip@lists.infradead.org,
	linux-tegra@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 3/5] soc: rockchip: power-domain: Use of_clk_get_parent_count() instead of open coding
Date: Mon, 30 Apr 2018 15:41:05 +0200	[thread overview]
Message-ID: <20180430134105.GD11457@mai> (raw)
In-Reply-To: <1524063005-1716-4-git-send-email-geert+renesas@glider.be>

On Wed, Apr 18, 2018 at 04:50:03PM +0200, Geert Uytterhoeven wrote:
> As of_clk_get_parent_count() returns zero on failure, while
> of_count_phandle_with_args() might return a negative error code, this
> also fixes the issue of possibly using a negative number in the
> allocation below.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> Reviewed-by: Heiko Stuebner <heiko@sntech.de>

Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>

WARNING: multiple messages have this Message-ID (diff)
From: daniel.lezcano@linaro.org (Daniel Lezcano)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 3/5] soc: rockchip: power-domain: Use of_clk_get_parent_count() instead of open coding
Date: Mon, 30 Apr 2018 15:41:05 +0200	[thread overview]
Message-ID: <20180430134105.GD11457@mai> (raw)
In-Reply-To: <1524063005-1716-4-git-send-email-geert+renesas@glider.be>

On Wed, Apr 18, 2018 at 04:50:03PM +0200, Geert Uytterhoeven wrote:
> As of_clk_get_parent_count() returns zero on failure, while
> of_count_phandle_with_args() might return a negative error code, this
> also fixes the issue of possibly using a negative number in the
> allocation below.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> Reviewed-by: Heiko Stuebner <heiko@sntech.de>

Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>

  reply	other threads:[~2018-04-30 13:41 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-18 14:50 [PATCH v3 0/5] Use of_clk_get_parent_count() instead of open coding Geert Uytterhoeven
2018-04-18 14:50 ` Geert Uytterhoeven
2018-04-18 14:50 ` [PATCH v3 1/5] clk: Extract OF clock helpers in <linux/of_clk.h> Geert Uytterhoeven
2018-04-18 14:50   ` Geert Uytterhoeven
2018-04-19 22:25   ` Stephen Boyd
2018-04-19 22:25     ` Stephen Boyd
2018-04-19 22:25     ` Stephen Boyd
2018-04-19 22:25     ` Stephen Boyd
2018-04-20  6:28     ` Geert Uytterhoeven
2018-04-20  6:28       ` Geert Uytterhoeven
2018-04-20  6:28       ` Geert Uytterhoeven
2018-04-24 15:44       ` Rob Herring
2018-04-24 15:44         ` Rob Herring
2018-04-24 15:44         ` Rob Herring
2018-05-02 15:38   ` Stephen Boyd
2018-05-02 15:38     ` Stephen Boyd
2018-05-02 15:38     ` Stephen Boyd
2018-05-02 15:38     ` Stephen Boyd
2018-04-18 14:50 ` [PATCH v3 2/5] ARM: timer-sp: Use of_clk_get_parent_count() instead of open coding Geert Uytterhoeven
2018-04-18 14:50   ` Geert Uytterhoeven
2018-05-02 15:38   ` Stephen Boyd
2018-05-02 15:38     ` Stephen Boyd
2018-05-02 15:38     ` Stephen Boyd
2018-04-18 14:50 ` [PATCH v3 3/5] soc: rockchip: power-domain: " Geert Uytterhoeven
2018-04-18 14:50   ` Geert Uytterhoeven
2018-04-30 13:41   ` Daniel Lezcano [this message]
2018-04-30 13:41     ` Daniel Lezcano
2018-05-02 15:38   ` Stephen Boyd
2018-05-02 15:38     ` Stephen Boyd
2018-05-02 15:38     ` Stephen Boyd
2018-05-02 15:38     ` Stephen Boyd
2018-04-18 14:50 ` [PATCH v3 4/5] soc/tegra: pmc: " Geert Uytterhoeven
2018-04-18 14:50   ` Geert Uytterhoeven
2018-04-30 13:44   ` Daniel Lezcano
2018-04-30 13:44     ` Daniel Lezcano
2018-05-02 15:38   ` Stephen Boyd
2018-05-02 15:38     ` Stephen Boyd
2018-05-02 15:38     ` Stephen Boyd
2018-05-02 15:38     ` Stephen Boyd
2018-04-18 14:50 ` [PATCH v3 5/5] pinctrl: sunxi: " Geert Uytterhoeven
2018-04-18 14:50   ` Geert Uytterhoeven
2018-04-26 11:57   ` Linus Walleij
2018-04-26 11:57     ` Linus Walleij
2018-04-26 11:57     ` Linus Walleij
2018-04-30 13:46   ` Daniel Lezcano
2018-04-30 13:46     ` Daniel Lezcano
2018-05-02 15:38   ` Stephen Boyd
2018-05-02 15:38     ` Stephen Boyd
2018-05-02 15:38     ` Stephen Boyd
2018-05-02 15:38     ` Stephen Boyd

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=20180430134105.GD11457@mai \
    --to=daniel.lezcano@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=frowand.list@gmail.com \
    --cc=geert+renesas@glider.be \
    --cc=heiko@sntech.de \
    --cc=jonathanh@nvidia.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=maxime.ripard@bootlin.com \
    --cc=mturquette@baylibre.com \
    --cc=robh+dt@kernel.org \
    --cc=sboyd@kernel.org \
    --cc=tglx@linutronix.de \
    --cc=thierry.reding@gmail.com \
    --cc=wens@csie.org \
    /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.