[PATCH v2 0/2] clk: Switch to use kmemdup_array()

Andy Shevchenko
2024-08-14T12:55:17Z

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