diff options
author | Charlie Jenkins <charlie@rivosinc.com> | 2023-11-28 01:05:00 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2023-12-04 22:02:38 +0300 |
commit | 4a92a87950c4f86bc372ee3b1da4ba9d092252a9 (patch) | |
tree | 9d684ce0886ec3eb67e4011a904a701c542376ae /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | d8792a5734b0f3e58b898c2e2f910bfac48e9ee3 (diff) | |
download | linux-4a92a87950c4f86bc372ee3b1da4ba9d092252a9.tar.xz |
riscv: Correct type casting in module loading
Use __le16 with le16_to_cpu.
Fixes: 8fd6c5142395 ("riscv: Add remaining module relocations")
Signed-off-by: Charlie Jenkins <charlie@rivosinc.com>
Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
Tested-by: Samuel Holland <samuel.holland@sifive.com>
Tested-by: Björn Töpel <bjorn@rivosinc.com>
Link: https://lore.kernel.org/r/20231127-module_linking_freeing-v4-2-a2ca1d7027d0@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions