[PATCH v1 0/4] clk: Switch to use kmemdup_array()

Andy Shevchenko andriy.shevchenko at linux.intel.com
Thu Jun 6 09:09:30 PDT 2024


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

Andy Shevchenko (4):
  clk: mmp: Switch to use kmemdup_array()
  clk: rockchip: Switch to use kmemdup_array()
  clk: samsung: Switch to use kmemdup_array()
  clk: visconti: Switch to use kmemdup_array()

 drivers/clk/mmp/clk-mix.c      | 10 ++++------
 drivers/clk/rockchip/clk-cpu.c |  5 ++---
 drivers/clk/rockchip/clk-pll.c |  8 ++++----
 drivers/clk/samsung/clk-cpu.c  |  4 ++--
 drivers/clk/samsung/clk-pll.c  |  8 ++++----
 drivers/clk/visconti/pll.c     |  6 +++---
 6 files changed, 19 insertions(+), 22 deletions(-)

-- 
2.43.0.rc1.1336.g36b5255a03ac




More information about the Linux-rockchip mailing list