From: narmstrong@baylibre.com (Neil Armstrong)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH 0/2] clk: meson: fix protection against undefined clks
Date: Fri, 28 Jul 2017 12:07:00 +0200 [thread overview]
Message-ID: <709b4877-f3e5-3654-c0c7-970ea43161e6@baylibre.com> (raw)
In-Reply-To: <20170727161755.10393-1-jbrunet@baylibre.com>
On 07/27/2017 06:17 PM, Jerome Brunet wrote:
> If the last clkids defined have no hw pointer associated with them in
> the hw_onecell_data array, the initialization is going to crash badly
> because the array is not big enough.
>
> The patchset makes sure the array is big enough, and that each clkid is
> associated with a valid hw pointer, or NULL.
>
> Doing it in two patches to ease backport, since we are not fixing the
> same commit on meson8b and gxbb
>
> Jerome Brunet (2):
> clk: meson: meson8b: fix protection against undefined clks
> clk: meson: gxbb: fix protection against undefined clks
>
> drivers/clk/meson/gxbb.c | 2 ++
> drivers/clk/meson/meson8b.c | 1 +
> 2 files changed, 3 insertions(+)
>
Applied to clk-meson's fixes/drivers !
Thanks,
Neil
prev parent reply other threads:[~2017-07-28 10:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-27 16:17 Jerome Brunet
2017-07-27 16:17 ` [PATCH 1/2] clk: meson: meson8b: " Jerome Brunet
2017-07-27 16:17 ` [PATCH 2/2] clk: meson: gxbb: " Jerome Brunet
2017-07-28 10:07 ` Neil Armstrong [this message]
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=709b4877-f3e5-3654-c0c7-970ea43161e6@baylibre.com \
--to=narmstrong@baylibre.com \
--cc=linus-amlogic@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®