From: Brian Masney <bmasney@redhat.com>
To: Rosen Penev <rosenp@gmail.com>
Cc: linux-clk@vger.kernel.org,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>,
open list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCHv2] clk: hisilicon: clkdivider-hi6220: use kzalloc_flex
Date: Tue, 31 Mar 2026 10:12:04 -0400 [thread overview]
Message-ID: <acvWNElQXPH4YaDk@redhat.com> (raw)
In-Reply-To: <20260330210217.11168-1-rosenp@gmail.com>
On Mon, Mar 30, 2026 at 02:02:17PM -0700, Rosen Penev wrote:
> Combine allocations using kzalloc_flex and a flexible array member.
>
> Signed-off-by: Rosen Penev <rosenp@gmail.com>
> ---
> v2: add missing transformation.
> drivers/clk/hisilicon/clkdivider-hi6220.c | 26 ++++++++---------------
> 1 file changed, 9 insertions(+), 17 deletions(-)
>
> diff --git a/drivers/clk/hisilicon/clkdivider-hi6220.c b/drivers/clk/hisilicon/clkdivider-hi6220.c
> index 1787ecefe601..b35c02d3bc05 100644
> --- a/drivers/clk/hisilicon/clkdivider-hi6220.c
> +++ b/drivers/clk/hisilicon/clkdivider-hi6220.c
> @@ -26,8 +26,8 @@
> * @shift: shift to the divider bit field
> * @width: width of the divider bit field
> * @mask: mask for setting divider rate
> - * @table: the div table that the divider supports
> * @lock: register lock
> + * @->table: the div table that the divider supports
Why this change?
Brian
next prev parent reply other threads:[~2026-03-31 14:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-30 21:02 [PATCHv2] clk: hisilicon: clkdivider-hi6220: use kzalloc_flex Rosen Penev
2026-03-31 14:12 ` Brian Masney [this message]
2026-03-31 21:48 ` Rosen Penev
2026-03-31 21:44 ` kernel test robot
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=acvWNElQXPH4YaDk@redhat.com \
--to=bmasney@redhat.com \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=rosenp@gmail.com \
--cc=sboyd@kernel.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