[linux-stable-rc:linux-5.10.y 7073/7120] module.c:undefined reference to `apply_returns'

From: kernel test robot
Date: Wed Jul 13 2022 - 03:45:59 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.10.y
head: 53b881e19526bcc3e51d9668cab955c80dcf584c
commit: f0c3bd645f2f01f9544cfab558041352f811e43b [7073/7120] x86: Undo return-thunk damage
config: um-i386_defconfig (https://download.01.org/0day-ci/archive/20220713/202207131507.KAI8N0xI-lkp@xxxxxxxxx/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=f0c3bd645f2f01f9544cfab558041352f811e43b
git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git fetch --no-tags linux-stable-rc linux-5.10.y
git checkout f0c3bd645f2f01f9544cfab558041352f811e43b
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=um SUBARCH=i386 SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

/usr/bin/ld: arch/x86/um/../kernel/module.o: in function `module_finalize':
>> module.c:(.text+0x219): undefined reference to `apply_returns'
collect2: error: ld returned 1 exit status

--
0-DAY CI Kernel Test Service
https://01.org/lkp