mbox series

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

Message ID 20240606161028.2986587-1-andriy.shevchenko@linux.intel.com
Headers show
Series clk: Switch to use kmemdup_array() | expand

Message

Andy Shevchenko June 6, 2024, 4:09 p.m. UTC
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(-)

Comments

Heiko Stuebner June 16, 2024, 7:59 a.m. UTC | #1
On Thu, 6 Jun 2024 19:09:30 +0300, Andy Shevchenko wrote:
> 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()
> 
> [...]

Applied, thanks!

[2/4] clk: rockchip: Switch to use kmemdup_array()
      commit: c9ba07b0c02acd89f2e521754357de30e704c254

Best regards,
Andy Shevchenko Aug. 13, 2024, 8:37 a.m. UTC | #2
On Thu, Jun 06, 2024 at 07:09:30PM +0300, Andy Shevchenko wrote:
> Replace open coded kmemdup_array(), which does an additional
> overflow check.

...

>   clk: mmp: Switch to use kmemdup_array()

>   clk: visconti: Switch to use kmemdup_array()

Any news for these two?
Stephen Boyd Aug. 14, 2024, 12:01 a.m. UTC | #3
Quoting Andy Shevchenko (2024-08-13 01:37:48)
> On Thu, Jun 06, 2024 at 07:09:30PM +0300, Andy Shevchenko wrote:
> > Replace open coded kmemdup_array(), which does an additional
> > overflow check.
> 
> ...
> 
> >   clk: mmp: Switch to use kmemdup_array()
> 
> >   clk: visconti: Switch to use kmemdup_array()

I have them all as "changes requested" so please resend.
Andy Shevchenko Aug. 14, 2024, 12:55 p.m. UTC | #4
On Tue, Aug 13, 2024 at 05:01:50PM -0700, Stephen Boyd wrote:
> Quoting Andy Shevchenko (2024-08-13 01:37:48)
> > On Thu, Jun 06, 2024 at 07:09:30PM +0300, Andy Shevchenko wrote:

...

> > >   clk: mmp: Switch to use kmemdup_array()
> > 
> > >   clk: visconti: Switch to use kmemdup_array()
> 
> I have them all as "changes requested" so please resend.

Done (Message-Id: 20240814125513.2637955-1-andriy.shevchenko@linux.intel.com).