Re: [PATCH] MIPS: c-r4k: Fix section mismatch for loongson2_sc_init

2021-01-07 Thread Thomas Bogendoerfer
On Tue, Jan 05, 2021 at 01:34:56PM -0700, Nathan Chancellor wrote: > When building with clang, the following section mismatch warning occurs: > > WARNING: modpost: vmlinux.o(.text+0x24490): Section mismatch in > reference from the function r4k_cache_init() to the function > .init.text:loongson2_sc

Re: [PATCH] MIPS: c-r4k: Fix section mismatch for loongson2_sc_init

2021-01-05 Thread Huacai Chen
Reviewed-by: Huacai Chen On Wed, Jan 6, 2021 at 7:01 AM Nathan Chancellor wrote: > > When building with clang, the following section mismatch warning occurs: > > WARNING: modpost: vmlinux.o(.text+0x24490): Section mismatch in > reference from the function r4k_cache_init() to the function > .init

[PATCH] MIPS: c-r4k: Fix section mismatch for loongson2_sc_init

2021-01-05 Thread Nathan Chancellor
When building with clang, the following section mismatch warning occurs: WARNING: modpost: vmlinux.o(.text+0x24490): Section mismatch in reference from the function r4k_cache_init() to the function .init.text:loongson2_sc_init() This should have been fixed with commit ad4fddef5f23 ("mips: fix Sec