[PATCH] RISC-V: Don't rely on positional structure initialization
patchwork-bot+linux-riscv at kernel.org
patchwork-bot+linux-riscv at kernel.org
Wed Nov 8 07:10:23 PST 2023
Hello:
This patch was applied to riscv/linux.git (for-next)
by Palmer Dabbelt <palmer at rivosinc.com>:
On Tue, 7 Nov 2023 07:55:29 -0800 you wrote:
> 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.
>
> [...]
Here is the summary with links:
- RISC-V: Don't rely on positional structure initialization
https://git.kernel.org/riscv/c/28ea54bade76
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the linux-riscv
mailing list