Re: [PATCH 11/36] tty/vt: consolemap: zero uni_pgdir using kcalloc()

From: Ilpo Järvinen
Date: Tue Jun 07 2022 - 09:51:17 EST


On Tue, 7 Jun 2022, Jiri Slaby wrote:

> The newly allocated p->uni_pgdir[n] is initialized to NULLs right after
> a kmalloc_array() allocation. Combine these two using kcalloc().
>
> Signed-off-by: Jiri Slaby <jslaby@xxxxxxx>

Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>

--
i.