summaryrefslogtreecommitdiffstats
path: root/arch/riscv/kernel
diff options
context:
space:
mode:
authorSamuel Holland <samuel.holland@sifive.com>2024-03-11 19:19:13 -0700
committerPalmer Dabbelt <palmer@rivosinc.com>2024-03-26 08:34:48 -0700
commitd080a08b06b6266cc3e0e86c5acfd80db937cb6b (patch)
tree2ae4dfb5448b27719d1894b82251070c8aa4b65a /arch/riscv/kernel
parent674bc0168e6b68070c75df22e97ab63b6eb60d89 (diff)
downloadlinux-stable-d080a08b06b6266cc3e0e86c5acfd80db937cb6b.tar.gz
linux-stable-d080a08b06b6266cc3e0e86c5acfd80db937cb6b.tar.bz2
linux-stable-d080a08b06b6266cc3e0e86c5acfd80db937cb6b.zip
riscv: Fix spurious errors from __get/put_kernel_nofault
These macros did not initialize __kr_err, so they could fail even if the access did not fault. Cc: stable@vger.kernel.org Fixes: d464118cdc41 ("riscv: implement __get_kernel_nofault and __put_user_nofault") Signed-off-by: Samuel Holland <samuel.holland@sifive.com> Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com> Reviewed-by: Charlie Jenkins <charlie@rivosinc.com> Link: https://lore.kernel.org/r/20240312022030.320789-1-samuel.holland@sifive.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'arch/riscv/kernel')
0 files changed, 0 insertions, 0 deletions