diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2020-11-27 09:39:43 +0100 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2020-12-14 16:39:42 +0100 |
commit | ad4fddef5f2345aa9214e979febe2f47639c10d9 (patch) | |
tree | 669db5e84160177cf0b404753cc877134f9a4277 /arch/mips/pci/pci-vr41xx.c | |
parent | 3bd5a2350262f1d316c9ff7b86a97335da5f2118 (diff) | |
download | linux-stable-ad4fddef5f2345aa9214e979febe2f47639c10d9.tar.gz linux-stable-ad4fddef5f2345aa9214e979febe2f47639c10d9.tar.bz2 linux-stable-ad4fddef5f2345aa9214e979febe2f47639c10d9.zip |
mips: fix Section mismatch in reference
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 loongson3_sc_init().
This is often because r4k_cache_init lacks a __init
annotation or the annotation of loongson3_sc_init is wrong.
Remove marked __init from function loongson3_sc_init(),
mips_sc_probe_cm3(), and mips_sc_probe().
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/pci/pci-vr41xx.c')
0 files changed, 0 insertions, 0 deletions