From: Rosen Penev <rosenp@gmail.com>
To: linux-clk@vger.kernel.org
Cc: Krzysztof Kozlowski <krzk@kernel.org>,
Sylwester Nawrocki <s.nawrocki@samsung.com>,
Chanwoo Choi <cw00.choi@samsung.com>,
Alim Akhtar <alim.akhtar@samsung.com>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>, Kees Cook <kees@kernel.org>,
"Gustavo A. R. Silva" <gustavoars@kernel.org>,
linux-samsung-soc@vger.kernel.org (open list:SAMSUNG SOC CLOCK
DRIVERS), linux-kernel@vger.kernel.org (open list),
linux-hardening@vger.kernel.org (open list:KERNEL HARDENING (not
covered by other areas):Keyword:\b__counted_by(_le|_be)?\b)
Subject: [PATCH 0/3] clk: samsung: use kzalloc_flex
Date: Wed, 1 Apr 2026 20:04:29 -0700 [thread overview]
Message-ID: <20260402030432.101066-1-rosenp@gmail.com> (raw)
Switch three structs to flexible array members to combine allocations.
Rosen Penev (3):
clk: samsung: use kzalloc_flex
clk: samsung: cpu: use kzalloc_flex
clk: samsung: pll: use kzalloc_flex
drivers/clk/samsung/clk-cpu.c | 30 +++++++------------
drivers/clk/samsung/clk-pll.c | 56 ++++++++++++++++-------------------
drivers/clk/samsung/clk.c | 28 ++++--------------
drivers/clk/samsung/clk.h | 2 +-
4 files changed, 44 insertions(+), 72 deletions(-)
--
2.53.0
next reply other threads:[~2026-04-02 3:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-02 3:04 Rosen Penev [this message]
2026-04-02 3:04 ` [PATCH 1/3] clk: samsung: use kzalloc_flex Rosen Penev
2026-04-02 3:11 ` Gustavo A. R. Silva
2026-04-02 3:04 ` [PATCH 2/3] clk: samsung: cpu: " Rosen Penev
2026-04-02 3:04 ` [PATCH 3/3] clk: samsung: pll: " Rosen Penev
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=20260402030432.101066-1-rosenp@gmail.com \
--to=rosenp@gmail.com \
--cc=alim.akhtar@samsung.com \
--cc=cw00.choi@samsung.com \
--cc=gustavoars@kernel.org \
--cc=kees@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-hardening@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=s.nawrocki@samsung.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