Re: [PATCH] media: atomisp: use kmalloc_objs for array allocations
From: Andy Shevchenko
Date: Thu Apr 16 2026 - 14:27:37 EST
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?
Please, better to help with this driver is to subscribe to the mailing
list and review already
submitted ones.
--
With Best Regards,
Andy Shevchenko