riscv: Use KASAN_SHADOW_INIT define for kasan memory initialization
authorAlexandre Ghiti <alex@ghiti.fr>
Mon, 8 Feb 2021 19:30:15 +0000 (14:30 -0500)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Tue, 23 Feb 2021 02:44:56 +0000 (18:44 -0800)
commit9484e2aef45bbc27cd23519917f27031e2857a6f
tree3da25f791e9609fff54d41506a2534ba6d1ac26a
parent7899ed260c348fe8813150c12c7a59fa0e3e9121
riscv: Use KASAN_SHADOW_INIT define for kasan memory initialization

Instead of hardcoding memory initialization to 0, use KASAN_SHADOW_INIT.

Signed-off-by: Alexandre Ghiti <alex@ghiti.fr>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/mm/kasan_init.c