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