[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGb2v6689RaJwiQ=XgY7uCGhqZCzSAeZ9MRVxzj0Vc6sf-dsPQ@mail.gmail.com>
Date: Fri, 16 Aug 2019 00:11:50 +0800
From: Chen-Yu Tsai <wens@...e.org>
To: Stephen Boyd <sboyd@...nel.org>
Cc: Michael Turquette <mturquette@...libre.com>,
linux-kernel <linux-kernel@...r.kernel.org>,
linux-clk <linux-clk@...r.kernel.org>, linux-rtc@...r.kernel.org,
Alessandro Zummo <a.zummo@...ertech.it>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Maxime Ripard <maxime.ripard@...tlin.com>
Subject: Re: [PATCH 3/4] rtc: sun6i: Don't reference clk_init_data after registration
On Fri, Aug 16, 2019 at 12:00 AM Stephen Boyd <sboyd@...nel.org> wrote:
>
> A future patch is going to change semantics of clk_register() so that
> clk_hw::init is guaranteed to be NULL after a clk is registered. Avoid
> referencing this member here so that we don't run into NULL pointer
> exceptions.
>
> Cc: Alessandro Zummo <a.zummo@...ertech.it>
> Cc: Alexandre Belloni <alexandre.belloni@...tlin.com>
> Cc: Maxime Ripard <maxime.ripard@...tlin.com>
> Cc: Chen-Yu Tsai <wens@...e.org>
> Signed-off-by: Stephen Boyd <sboyd@...nel.org>
Acked-by: Chen-Yu Tsai <wens@...e.org>
Powered by blists - more mailing lists