Re: [PATCH v2] RISC-V: fix sifive and thead section mismatches in errata

From: Palmer Dabbelt
Date: Mon May 01 2023 - 18:45:09 EST



On Sat, 29 Apr 2023 08:52:47 -0700, Randy Dunlap wrote:
> When CONFIG_MODULES is set, __init_or_module becomes <empty>, but when
> CONFIG_MODULES is not set, __init_or_module becomes __init.
> In the latter case, it causes section mismatch warnings:
>
> WARNING: modpost: vmlinux.o: section mismatch in reference: riscv_fill_cpu_mfr_info (section: .text) -> sifive_errata_patch_func (section: .init.text)
> WARNING: modpost: vmlinux.o: section mismatch in reference: riscv_fill_cpu_mfr_info (section: .text) -> thead_errata_patch_func (section: .init.text)
>
> [...]

Applied, thanks!

[1/1] RISC-V: fix sifive and thead section mismatches in errata
https://git.kernel.org/palmer/c/a2a58b5ca124

Best regards,
--
Palmer Dabbelt <palmer@xxxxxxxxxxxx>