[ardb:arm32-ftrace-fixes 41/50] WARNING: modpost: vmlinux.o(.text+0x3aec0): Section mismatch in reference from the function ftrace_make_call() to the function .init.text:ftrace_caller_from_init()

From: kernel test robot
Date: Wed Jan 26 2022 - 21:46:26 EST


tree: git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git arm32-ftrace-fixes
head: db81a4be9a228c6d728b5e10ada88553cc72a001
commit: 3266348765f2d19ca7605c25f50ee04fd4a5decf [41/50] ARM: ftrace: use trampolines to keep .init.text in branching range
config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20220127/202201271012.knG6huUI-lkp@xxxxxxxxx/config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/commit/?id=3266348765f2d19ca7605c25f50ee04fd4a5decf
git remote add ardb git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
git fetch --no-tags ardb arm32-ftrace-fixes
git checkout 3266348765f2d19ca7605c25f50ee04fd4a5decf
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>, old ones prefixed by <<):

>> WARNING: modpost: vmlinux.o(.text+0x3aec0): Section mismatch in reference from the function ftrace_make_call() to the function .init.text:ftrace_caller_from_init()
The function ftrace_make_call() references
the function __init ftrace_caller_from_init().
This is often because ftrace_make_call lacks a __init
annotation or the annotation of ftrace_caller_from_init is wrong.
--
>> WARNING: modpost: vmlinux.o(.text+0x3aec4): Section mismatch in reference from the function ftrace_make_call() to the function .init.text:ftrace_regs_caller_from_init()
The function ftrace_make_call() references
the function __init ftrace_regs_caller_from_init().
This is often because ftrace_make_call lacks a __init
annotation or the annotation of ftrace_regs_caller_from_init is wrong.
--
>> WARNING: modpost: vmlinux.o(.text+0x3b178): Section mismatch in reference from the function ftrace_modify_call() to the function .init.text:ftrace_caller_from_init()
The function ftrace_modify_call() references
the function __init ftrace_caller_from_init().
This is often because ftrace_modify_call lacks a __init
annotation or the annotation of ftrace_caller_from_init is wrong.
--
>> WARNING: modpost: vmlinux.o(.text+0x3b17c): Section mismatch in reference from the function ftrace_modify_call() to the function .init.text:ftrace_regs_caller_from_init()
The function ftrace_modify_call() references
the function __init ftrace_regs_caller_from_init().
This is often because ftrace_modify_call lacks a __init
annotation or the annotation of ftrace_regs_caller_from_init is wrong.
--
>> WARNING: modpost: vmlinux.o(.text+0x3b484): Section mismatch in reference from the function ftrace_make_nop() to the function .init.text:ftrace_caller_from_init()
The function ftrace_make_nop() references
the function __init ftrace_caller_from_init().
This is often because ftrace_make_nop lacks a __init
annotation or the annotation of ftrace_caller_from_init is wrong.
--
>> WARNING: modpost: vmlinux.o(.text+0x3b488): Section mismatch in reference from the function ftrace_make_nop() to the function .init.text:ftrace_regs_caller_from_init()
The function ftrace_make_nop() references
the function __init ftrace_regs_caller_from_init().
This is often because ftrace_make_nop lacks a __init
annotation or the annotation of ftrace_regs_caller_from_init is wrong.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx