ERROR: modpost: "__delay" [drivers/net/mdio/mdio-cavium.ko] undefined!

From: kernel test robot
Date: Sat Jul 16 2022 - 03:00:08 EST


Hi Mahesh,

First bad commit (maybe != root cause):

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 9b59ec8d50a1f28747ceff9a4f39af5deba9540e
commit: 3753d9779038ab011e01b949253492aaa37bf57a net: fix build without CONFIG_SYSCTL definition
date: 1 year, 10 months ago
config: sh-randconfig-r014-20220716 (https://download.01.org/0day-ci/archive/20220716/202207161440.FvNE0J51-lkp@xxxxxxxxx/config)
compiler: sh4-linux-gcc (GCC) 12.1.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=3753d9779038ab011e01b949253492aaa37bf57a
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 3753d9779038ab011e01b949253492aaa37bf57a
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sh 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 >>, old ones prefixed by <<):

>> ERROR: modpost: "__delay" [drivers/net/mdio/mdio-cavium.ko] undefined!

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