[RFT PATCH v2] Use kmalloc_array() instead of kmalloc()

Claudiu Beznea claudiu.beznea at tuxon.dev
Sat Jan 10 08:17:40 PST 2026


Please use "clk: at91: Use kmalloc_array() instead of kmalloc()" in 
patch title.

On 11/23/25 09:09, Sidharth Seela wrote:
> Refactor to new API, for cases with dynamic size calculations
> inside kmalloc(). Such calculations were found using grep in the
> sources. The patch compiles properly with multi_v7_defconfig
> and multi_v5_defconfig and generates object files for the following
> driver files.

Patch description should answer to "what?" are you doing and "why?" are 
you doing it. Please specify also why are you doing this change.

The rest looks good to me.

I tested it and saw no issues.

Thank you,
Claudiu



More information about the linux-arm-kernel mailing list