summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@rivosinc.com>2023-11-07 16:55:29 +0100
committerPalmer Dabbelt <palmer@rivosinc.com>2023-11-08 00:00:05 +0100
commit28ea54bade76e2d47cb8cdb96e427cfb90d3eea7 (patch)
treef2051436065600b519474c447ba14dae554a37cf /Documentation
parentMerge patch series "riscv: Add remaining module relocations and tests" (diff)
downloadlinux-28ea54bade76e2d47cb8cdb96e427cfb90d3eea7.tar.xz
linux-28ea54bade76e2d47cb8cdb96e427cfb90d3eea7.zip
RISC-V: Don't rely on positional structure initialization
Without this I get a bunch of warnings along the lines of arch/riscv/kernel/module.c:535:26: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init] 535 | [R_RISCV_32] = { apply_r_riscv_32_rela }, This just mades the member initializers explicit instead of positional. I also aligned some of the table, but mostly just to make the batch editing go faster. Fixes: b51fc88cb35e ("Merge patch series "riscv: Add remaining module relocations and tests"") Reviewed-by: Charlie Jenkins <charlie@rivosinc.com> Link: https://lore.kernel.org/r/20231107155529.8368-1-palmer@rivosinc.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions