[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202111301241.yBaIcBqw-lkp@intel.com>
Date: Tue, 30 Nov 2021 12:11:10 +0800
From: kernel test robot <lkp@...el.com>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Finn Thain <fthain@...egraphics.com.au>
Subject: WARNING: modpost: vmlinux.o(.text+0x4fc818): Section mismatch in
reference from the function sonic_get_stats() to the function
.init.text:set_reset_devices()
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d58071a8a76d779eedab38033ae4c821c30295a5
commit: 0f7ba7bc46fa0b574ccacf5672991b321e028492 net/sonic: Fix some resource leaks in error handling paths
date: 11 months ago
config: xtensa-randconfig-r025-20211129 (https://download.01.org/0day-ci/archive/20211130/202111301241.yBaIcBqw-lkp@intel.com/config)
compiler: xtensa-linux-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/torvalds/linux.git/commit/?id=0f7ba7bc46fa0b574ccacf5672991b321e028492
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 0f7ba7bc46fa0b574ccacf5672991b321e028492
# 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=xtensa SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
>> WARNING: modpost: vmlinux.o(.text+0x4fc818): Section mismatch in reference from the function sonic_get_stats() to the function .init.text:set_reset_devices()
The function sonic_get_stats() references
the function __init set_reset_devices().
This is often because sonic_get_stats lacks a __init
annotation or the annotation of set_reset_devices is wrong.
Note: the below error/warnings can be found in parent commit:
<< WARNING: modpost: vmlinux.o(.text+0x4fc860): Section mismatch in reference from the function xtsonic_device_remove() to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.text+0x4fc8c7): Section mismatch in reference from the function xtsonic_probe() to the function .init.text:sonic_probe1()
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Powered by blists - more mailing lists