regulators-tegra20.c:undefined reference to `regulator_sync_voltage_rdev'

From: kernel test robot
Date: Mon Jul 19 2021 - 18:23:46 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 2734d6c1b1a089fb593ef6a23d4b70903526fe0c
commit: 03978d42ed0d69cb5d38dfb0aeb5216d19507c60 soc/tegra: regulators: Bump voltages on system reboot
date: 7 weeks ago
config: arm64-randconfig-r001-20210720 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 10.3.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=03978d42ed0d69cb5d38dfb0aeb5216d19507c60
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 03978d42ed0d69cb5d38dfb0aeb5216d19507c60
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

aarch64-linux-ld: drivers/soc/tegra/regulators-tegra20.o: in function `tegra20_regulator_reboot':
>> regulators-tegra20.c:(.text+0x260): undefined reference to `regulator_sync_voltage_rdev'
regulators-tegra20.c:(.text+0x260): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `regulator_sync_voltage_rdev'
>> aarch64-linux-ld: regulators-tegra20.c:(.text+0x26c): undefined reference to `regulator_sync_voltage_rdev'
regulators-tegra20.c:(.text+0x26c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `regulator_sync_voltage_rdev'

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

Attachment: .config.gz
Description: application/gzip