diff options
| author | Jiri Slaby <jslaby@suse.cz> | 2022-06-07 12:49:21 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-06-10 13:37:01 +0200 |
| commit | 32bd78fc4948471be2853ba8b5229e4e1327e13e (patch) | |
| tree | 69799edc147ebab7d2f2c3630f50175787be9bb5 /include/linux/panic_notifier.h | |
| parent | 9254365443f72838a276bb2d9a9935c802e3adc8 (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/panic_notifier.h')
0 files changed, 0 insertions, 0 deletions
