aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2022-06-07 12:49:21 +0200
committerGreg Kroah-Hartman <[email protected]>2022-06-10 13:37:01 +0200
commit32bd78fc4948471be2853ba8b5229e4e1327e13e (patch)
tree69799edc147ebab7d2f2c3630f50175787be9bb5 /include/linux
parent9254365443f72838a276bb2d9a9935c802e3adc8 (diff)
tty/vt: consolemap: zero uni_pgdir using kcalloc()
The newly allocated p->uni_pgdir[n] is initialized to NULLs right after a kmalloc_array() allocation. Combine these two using kcalloc(). Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Jiri Slaby <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions