diff options
| author | Jiri Slaby <[email protected]> | 2022-06-07 12:49:21 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-06-10 13:37:01 +0200 |
| commit | 32bd78fc4948471be2853ba8b5229e4e1327e13e (patch) | |
| tree | 69799edc147ebab7d2f2c3630f50175787be9bb5 /include/linux/timerqueue.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 <[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/timerqueue.h')
0 files changed, 0 insertions, 0 deletions