Merge patch series "riscv: Fix issues with module loading"
authorPalmer Dabbelt <palmer@rivosinc.com>
Mon, 4 Dec 2023 19:02:40 +0000 (11:02 -0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Mon, 4 Dec 2023 19:02:40 +0000 (11:02 -0800)
Charlie Jenkins <charlie@rivosinc.com> says:

Module loading did not account for multiple threads concurrently loading
modules. This patch fixes that issue. There is also a small patch to fix
the type of a __le16 variable.

* b4-shazam-merge:
  riscv: Correct type casting in module loading
  riscv: Safely remove entries from relocation list

Link: https://lore.kernel.org/r/20231127-module_linking_freeing-v4-0-a2ca1d7027d0@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>

Trivial merge