Re: [PATCH] media: atomisp: use kmalloc_objs for array allocations
From: Sakari Ailus
Date: Tue Apr 21 2026 - 12:53:22 EST
Hi Andy,
On Thu, Apr 16, 2026 at 09:26:47PM +0300, Andy Shevchenko wrote:
> On Thu, Apr 16, 2026 at 4:46 PM Pedro Pontes <pontescpedro@xxxxxxxxx> wrote:
> >
> > Convert manual kmalloc() multiplications to the modern kmalloc_objs()
> > interface to improve type safety and prevent potential integer
> > overflows.
>
> There is already a patch doing it in a slightly better way. Have you
> followed the mailing list?
I must have missed it, too. :-\
> Please, better to help with this driver is to subscribe to the mailing
> list and review already
> submitted ones.
--
Regards,
Sakari Ailus