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

Andy Shevchenko andriy.shevchenko at linux.intel.com
Wed Aug 14 05:54:06 PDT 2024


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




More information about the linux-arm-kernel mailing list