Re: [PATCH v1] clk: keystone: sci-clk: use devm_kmemdup_array()

From: Raag Jadav
Date: Tue Sep 16 2025 - 09:18:31 EST


On Tue, Sep 16, 2025 at 03:53:46PM +0300, Andy Shevchenko wrote:
> On Tue, Sep 16, 2025 at 03:52:35PM +0300, Andy Shevchenko wrote:
> > On Tue, Sep 16, 2025 at 06:15:18PM +0530, Raag Jadav wrote:
> > > Convert to use devm_kmemdup_array() which is more robust.
> >
> > FWIW,
> > Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

Thank you.

> However, you might also want to use sizeof(*clks) IIUC.

It's a double pointer and could lead to misinterpretation.

Raag