Re: [PATCH] staging: media: atomisp: use kvcalloc() in ia_css_refcount_init()

From: Andy Shevchenko

Date: Sat Dec 05 2026 - 05:51:44 EST


On Sat, Dec 5, 2026 at 8:58 AM Shaunak Datar <shaunakkdatar@xxxxxxxxx> wrote:
>
> ia_css_refcount_init() was using kvmalloc() and memset(), update that to
> use kvcalloc() which returns zeroed memory.

Hmm... So far we don't have kvcalloc_objs() or alike.
Hence this patch is good as it is for now.
Reviewed-by: Andy Shevchenko <andy@xxxxxxxxxx>

--
With Best Regards,
Andy Shevchenko