Re: [PATCH v4 2/4] kernel hacking: new config NO_AUTO_INLINE to disable compiler auto-inline optimizations

From: kbuild test robot
Date: Wed May 09 2018 - 14:29:45 EST


Hi Changbin,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on linus/master]
[also build test WARNING on v4.17-rc4 next-20180509]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/changbin-du-intel-com/kernel-hacking-GCC-optimization-for-better-debug-experience-Og/20180509-213955
config: arm64-allmodconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm64

All warnings (new ones prefixed by >>):

>> WARNING: vmlinux.o(.text+0x6223c): Section mismatch in reference from the function init_subsystems() to the function .init.text:hyp_cpu_pm_init()
The function init_subsystems() references
the function __init hyp_cpu_pm_init().
This is often because init_subsystems lacks a __init
annotation or the annotation of hyp_cpu_pm_init is wrong.
--
>> WARNING: vmlinux.o(.text+0x62378): Section mismatch in reference from the function teardown_hyp_mode() to the function .init.text:hyp_cpu_pm_exit()
The function teardown_hyp_mode() references
the function __init hyp_cpu_pm_exit().
This is often because teardown_hyp_mode lacks a __init
annotation or the annotation of hyp_cpu_pm_exit is wrong.
--
>> WARNING: vmlinux.o(.text+0x968978): Section mismatch in reference from the function kirin_pcie_probe() to the function .init.text:kirin_add_pcie_port.isra.4()
The function kirin_pcie_probe() references
the function __init kirin_add_pcie_port.isra.4().
This is often because kirin_pcie_probe lacks a __init
annotation or the annotation of kirin_add_pcie_port.isra.4 is wrong.

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip