diff options
author | Alexandre Ghiti <alexghiti@rivosinc.com> | 2023-07-04 09:43:56 +0200 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2023-08-31 00:18:30 -0700 |
commit | dd7664d67b478afeb79a89e4586c2cd7707d17d6 (patch) | |
tree | 0e9d542af2f0760716d58f8cef4ba1eeffab70d7 /scripts/generate_rust_analyzer.py | |
parent | 665c51f644433f4f976ffc13e14523aaceacf9fe (diff) |
riscv: Mark KASAN tmp* page tables variables as static
tmp_pg_dir, tmp_p4d and tmp_pud are only used in kasan_init.c so they
should be declared as static.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202306282202.bODptiGE-lkp@intel.com/
Fixes: 96f9d4daf745 ("riscv: Rework kasan population functions")
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Link: https://lore.kernel.org/r/20230704074357.233982-1-alexghiti@rivosinc.com
Cc: stable@vger.kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions