summaryrefslogtreecommitdiff
path: root/include/linux/err.h
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2022-06-07 12:49:21 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-10 13:37:01 +0200
commit32bd78fc4948471be2853ba8b5229e4e1327e13e (patch)
tree69799edc147ebab7d2f2c3630f50175787be9bb5 /include/linux/err.h
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 <ilpo.jarvinen@linux.intel.com> Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20220607104946.18710-11-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/err.h')
0 files changed, 0 insertions, 0 deletions