public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] clk: Switch to use kmemdup_array()
@ 2024-08-14 12:54 Andy Shevchenko
  2024-08-14 12:54 ` [PATCH v2 1/2] clk: mmp: " Andy Shevchenko
  2024-08-14 12:54 ` [PATCH v2 2/2] clk: visconti: " Andy Shevchenko
  0 siblings, 2 replies; 5+ messages in thread
From: Andy Shevchenko @ 2024-08-14 12:54 UTC (permalink / raw)
  To: Andy Shevchenko, linux-clk, linux-kernel, linux-arm-kernel
  Cc: Michael Turquette, Stephen Boyd, Nobuhiro Iwamatsu

Replace open coded kmemdup_array(), which does an additional
overflow check.

v2:
- dropped upstreamed changes
- fixed a typo in the commit messages

Andy Shevchenko (2):
  clk: mmp: Switch to use kmemdup_array()
  clk: visconti: Switch to use kmemdup_array()

 drivers/clk/mmp/clk-mix.c  | 10 ++++------
 drivers/clk/visconti/pll.c |  6 +++---
 2 files changed, 7 insertions(+), 9 deletions(-)

-- 
2.43.0.rc1.1336.g36b5255a03ac


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-08-15  0:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-14 12:54 [PATCH v2 0/2] clk: Switch to use kmemdup_array() Andy Shevchenko
2024-08-14 12:54 ` [PATCH v2 1/2] clk: mmp: " Andy Shevchenko
2024-08-15  0:37   ` Stephen Boyd
2024-08-14 12:54 ` [PATCH v2 2/2] clk: visconti: " Andy Shevchenko
2024-08-15  0:37   ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox