[PATCH] mips: fix Section mismatch in reference

2021-01-15 Thread Anders Roxell
commit ad4fddef5f2345aa9214e979febe2f47639c10d9 upstream. When building mips tinyconfig with clang the following error show up: WARNING: modpost: vmlinux.o(.text+0x1940c): Section mismatch in reference from the function r4k_cache_init() to the function .init.text:loongson3_sc_init() The

Re: [PATCH] mips: fix Section mismatch in reference

2020-11-30 Thread Nick Desaulniers
On Fri, Nov 27, 2020 at 12:39 AM Anders Roxell wrote: > > When building mips tinyconfig with clang the following error show up: > > WARNING: modpost: vmlinux.o(.text+0x1940c): Section mismatch in reference > from the function r4k_cache_init() to the function > .init.text:loongson3_sc_init() >

[PATCH] mips: fix Section mismatch in reference

2020-11-27 Thread Anders Roxell
When building mips tinyconfig with clang the following error show up: WARNING: modpost: vmlinux.o(.text+0x1940c): Section mismatch in reference from the function r4k_cache_init() to the function .init.text:loongson3_sc_init() The function r4k_cache_init() references the function __init