[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 1 Feb 2016 17:07:33 -0800
From: Stephen Boyd <sboyd@...eaurora.org>
To: Masahiro Yamada <yamada.masahiro@...ionext.com>
Cc: linux-clk@...r.kernel.org,
Michael Turquette <mturquette@...libre.com>,
linux-kernel@...r.kernel.org
Subject: Re: [RESEND PATCH v2 05/16] clk: change sizeof(struct clk *) to
sizeof(*core->parents)
On 12/28, Masahiro Yamada wrote:
> Now, the clock parent is not "struct clk *", but "struct clk_core *".
> Of course, the size of a pointer is always same, but strictly speaking,
> sizeof(struct clk *) should be sizeof(struct clk_core *) here.
>
> This mismatch happened when we split the structure into struct clk
> and struct clk_core. For the potential possibility of future renaming,
> sizeof(*core->parents) would be better.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@...ionext.com>
> ---
Applied to clk-next
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
Powered by blists - more mailing lists