Re: [PATCH] sound/soc/sof:Use kmalloc_array instead of kmalloc
From: HariKrishna Sagala
Date: Thu Nov 06 2025 - 04:41:09 EST
On Wed, 15 Oct 2025, Mark Brown wrote:
> On Tue, Sep 23, 2025 at 07:55:13PM +0530, hariconscious@xxxxxxxxx wrote:
> > From: HariKrishna Sagala <hariconscious@xxxxxxxxx>
> >
> > Documentation/process/deprecated.rst recommends to avoid the use of
> > kmalloc with dynamic size calculations due to the risk of them
> > overflowing. This could lead to values wrapping around and a
>
> Please submit patches using subject lines reflecting the style for the
> subsystem, this makes it easier for people to identify relevant patches.
> Look at what existing commits in the area you're changing are doing and
> make sure your subject lines visually resemble what they're doing.
> There's no need to resubmit to fix this alone.
>
Just reminding for an opportunity to check this patch.
Thank you.