Messages in this thread | | | Date | Tue, 7 Jun 2022 16:51:08 +0300 (EEST) | From | Ilpo Järvinen <> | Subject | Re: [PATCH 11/36] tty/vt: consolemap: zero uni_pgdir using kcalloc() |
| |
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@suse.cz>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
-- i.
| |