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

Palmer Dabbelt palmer at rivosinc.com
Mon May 1 15:44:36 PDT 2023


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 at rivosinc.com>




More information about the linux-riscv mailing list