linux-stable/arch/riscv
Alexandre Ghiti b69c7129a2 riscv: Mark KASAN tmp* page tables variables as static
commit dd7664d67b upstream.

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: 96f9d4daf7 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-09-13 09:48:38 +02:00
..
boot RISC-V Patches for the 6.4 Merge Window, Part 1 2023-04-28 16:55:39 -07:00
configs Remove orphaned CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT 2023-03-27 13:12:09 +02:00
errata riscv: Fix relocatable kernels with early alternatives using -fno-pie 2023-05-31 07:07:07 -07:00
include riscv: correct riscv_insn_is_c_jr() and riscv_insn_is_c_jalr() 2023-08-23 17:32:51 +02:00
kernel riscv: Handle zicsr/zifencei issue between gcc and binutils 2023-08-30 14:52:41 +02:00
kvm RISC-V Patches for the 6.4 Merge Window, Part 2 2023-05-05 12:23:33 -07:00
lib riscv: uaccess: Return the number of bytes effectively not copied 2023-08-23 17:32:51 +02:00
mm riscv: Mark KASAN tmp* page tables variables as static 2023-09-13 09:48:38 +02:00
net riscv, bpf: Fix inconsistent JIT image generation 2023-07-23 13:53:46 +02:00
purgatory riscv/purgatory: remove PGO flags 2023-06-12 11:31:51 -07:00
tools riscv: Check relocations at compile time 2023-04-19 07:46:32 -07:00
Kbuild riscv: move errata/ and kvm/ builds to arch/riscv/Kbuild 2022-06-01 22:26:32 -07:00
Kconfig riscv: Fix build errors using binutils2.37 toolchains 2023-08-30 14:52:41 +02:00
Kconfig.debug
Kconfig.errata Merge patch series "RISC-V: Fixes for riscv_has_extension[un]likely()'s alternative dependency" 2023-03-29 12:26:38 -07:00
Kconfig.socs RISC-V Patches for the 6.3 Merge Window, Part 1 2023-02-25 11:14:08 -08:00
Makefile RISC-V Patches for the 6.4 Merge Window, Part 1 2023-04-28 16:55:39 -07:00
Makefile.postlink riscv: Use --emit-relocs in order to move .rela.dyn in init 2023-04-19 07:46:33 -07:00